Hiding the text input field of the inputbox
Closed, ResolvedPublic


Author: patrik

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


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: inputbox.diff

brion added a comment.Jul 12 2006, 1:55 AM

Committed in r15558. With some modifications to fit code

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

webmaster wrote:

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

Add Comment