Last modified: 2007-11-01 05:22: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.
Write another extension, then.
It seems like it would be straightforward and reasonable to allow a "hidden" parameter for each field in Inputbox. Writing another extension seems pointless.
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.
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 ***