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 T12152, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10152 - Allow 'hiding' the inputbox
Allow 'hiding' the inputbox
Status: RESOLVED DUPLICATE of bug 4971
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.bartendersdatabase.com/ind...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-05 21:05 UTC by Jamie Hari
Modified: 2007-11-01 05:22 UTC (History)
2 users (show)

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


Attachments

Description Jamie Hari 2007-06-05 21:05:34 UTC
There have been a couple of instances when I have come across the need for a button that automates page creation functionality, but in such a strict, guided manner that the input box itself is not needed, just the button.

For instance:

<inputbox>
type=create
default=User:{{PAGENAME}}
buttonlabel=Create your user page!
editintro=MediaWiki:CreateUserPageMessage
preload=Template:UserPageTemplate
inputboxhidden=true   <- This is what I mean, I would suggest something similar
</inputbox>

This would create a button which I could put on a new user's talk page. All the new user would have to do is hit the button and be taken to their userpage, which would be preloaded with a userpage template and with a nice friendly message at the top explaining how/why to create a user page.

Example: http://www.bartendersdatabase.com/index.php/User_talk:Kokomo
(Currently, it leaves the inputbox so the new user could accidently modify its contents and create a userpage for some other, possibly non-existant user)

Talk about making it EASY for newbies... :)

I foresee great and wide application of such functionality.
Comment 1 Rob Church 2007-06-06 03:01:31 UTC
Write another extension, then.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-06 18:51:37 UTC
It seems like it would be straightforward and reasonable to allow a "hidden" parameter for each field in Inputbox.  Writing another extension seems pointless.
Comment 3 Jamie Hari 2007-06-08 05:20:52 UTC
I am already working on this for my own wiki... and yes, it is pretty simple and straight-forward.

If I come up with anything decent enough to include in Wikipedia, I will submit a test-patch.

Reopening, as I will be working on it, as per Rob's suggestion that I do it, myself.
Comment 4 Jamie Hari 2007-11-01 05:22:34 UTC
Brion added it in r15558, but no one documented it and I didn't find that bug when I searched! ;)

"hidden = yes"

works on en wikipedia as of the time of this writing.

Closing as resolved, duplicate of Bug 4971.
Cheers!

*** This bug has been marked as a duplicate of bug 4971 ***

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


Navigation
Links