Last modified: 2006-02-03 14:25:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3633 - Improving the creation of a new section with default text
Improving the creation of a new section with default text
Status: RESOLVED FIXED
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!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-06 21:51 UTC by dake
Modified: 2006-02-03 14:25 UTC (History)
1 user (show)

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


Attachments

Description dake 2005-10-06 21:51:56 UTC
One can currently create a new section with such URL : 

http://my.wiki.com/w/index.php?title=Article&action=edit&section=new

It would be useful to pass a template to this URL, as a default value for the
text, same for the title : 

http://my.wiki.com/w/index.php?title=Article&action=edit&section=new&template=TemplateName&title=MyTitle
(no subst)
http://my.wiki.com/w/index.php?title=Article&action=edit&section=new&templateSubst=TemplateName&title=MyTitle
(subst)

This would be nice to force the use of predefined templates, for example for
votes and such "administration" pages. Such feature would remove the extra
hassle for the end-user who has to copy the template, and include it in the
textbox. I don't know if this should be restricted to templates, maybe the
inclusion would be useful for all namespaces.
Comment 1 Melancholie 2006-01-31 13:10:32 UTC
This can be done by:
http://my.wiki.com/w/index.php?title=Article&action=edit&section=new&preload=Template:Xy

Thus I close this bug! But if this should not cover all of your needs, just reopen this 
bug. But I think &preload= will be enough!
Comment 2 lɛʁi לערי ריינהארט 2006-02-03 14:25:20 UTC
This is a feature of the extension inputbox.
See [[meta:Inputbox#type_comment]] and
[[meta:ser:Gangleri/tests/bugzilla/inputbox]]

best regards reinhardt [[user:gangleri]]

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


Navigation
Links