Page MenuHomePhabricator

Improving the creation of a new section with default text
Closed, ResolvedPublic

Description

Author: dake.cdx

Description:
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.


Version: unspecified
Severity: enhancement

Details

Reference
bz3633

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:50 PM
bzimport set Reference to bz3633.
bzimport added a subscriber: Unknown Object (MLST).

Wiki.Melancholie wrote:

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!

gangleri wrote:

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]]