Page MenuHomePhabricator

Hiding the text input field of the inputbox
Closed, ResolvedPublic

Description

Author: patrik

Description:
It would be useful to be able to hide the text input field of the inputbox so
just the button is shown.

Sometimes like on MediaWiki:Nogomatch you already have a default value that is
not needed to change so showing the text field is not nessary.

On the English Wiktionary we have solved this by using a Javascript hack.
However it doesn't look very nice and it would be better to add a new option to
the inputbox extension.

So I suggest that a new parameter "hidden" is added so that "hidden=yes" hides
the text input field.


Version: unspecified
Severity: enhancement
URL: http://en.wiktionary.org/wiki/MediaWiki:Nogomatch

Details

Reference
bz4971

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:05 PM
bzimport set Reference to bz4971.
bzimport added a subscriber: Unknown Object (MLST).

patrik wrote:

Patch to implement the new "hidden" parameter

I have implemented the new "hidden" parameter and it seems to work for me.

Attached:

Committed in r15558. With some modifications to fit code
style.

It's a pretty hideous extension, though, should be rewritten.
:)

webmaster wrote:

*** Bug 10152 has been marked as a duplicate of this bug. ***