Last modified: 2006-02-03 14:25:20 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 T5633, the corresponding Phabricator task for complete and up-to-date bug report information.
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