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

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz4971.
bzimport created this task.Via LegacyFeb 12 2006, 10:20 AM
bzimport added a comment.Via ConduitFeb 12 2006, 10:23 AM

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.Via ConduitJul 12 2006, 1:55 AM

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

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

bzimport added a comment.Via ConduitNov 1 2007, 5:22 AM

webmaster wrote:

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

Add Comment