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 added a subscriber: wikibugs-l.
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

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

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.