Last modified: 2007-11-01 05:22:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6971, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4971 - Hiding the text input field of the inputbox
Hiding the text input field of the inputbox
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wiktionary.org/wiki/MediaWi...
:
: 10152 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-12 10:20 UTC by Patrik Stridvall
Modified: 2007-11-01 05:22 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch to implement the new "hidden" parameter (2.62 KB, patch)
2006-02-12 10:23 UTC, Patrik Stridvall
Details

Description Patrik Stridvall 2006-02-12 10:20:04 UTC
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.
Comment 1 Patrik Stridvall 2006-02-12 10:23:36 UTC
Created attachment 1388 [details]
Patch to implement the new "hidden" parameter

I have implemented the new "hidden" parameter and it seems to work for me.
Comment 2 Brion Vibber 2006-07-12 01:55:25 UTC
Committed in r15558. With some modifications to fit code 
style.

It's a pretty hideous extension, though, should be rewritten. 
:)
Comment 3 Jamie Hari 2007-11-01 05:22:34 UTC
*** Bug 10152 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links