Page MenuHomePhabricator

Automatically prepend/append text to the page title via inputbox
Open, LowPublicFeature

Description

Feature summary (what you would like to be able to do and where):
This feature would prepends and/or append text to the user-chosen page title

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

  • Naming templates like Template:Infobox "Character" (might be a little contrived for real-world usage)

Parameter considerations

  • prependtitle=/appendtitle=: Might not be ideal, having to use both parameters when you want both
<inputbox>
type=create
titleprepend=Template Infobox "
titleappend="
</inputbox>
  • titlepattern=/titletemplate=: Providing inline wikitext with parameters might be more convenient but
    • overkill, since it would need to be parsed
    • using a different pattern like \1 or $1 would require users to learn a new syntax
    • no guarantee that the user would supply any parameters at all and would instead supply a fixed title (similar to default=)
<inputbox>
type=create
titlepattern=Template Infobox "$1"
</inputbox>
<inputbox>
type=create
titlepattern=Template Infobox "{{{title}}}"
</inputbox>

Benefits (why should this be implemented?):

  • Many wikis have policies about naming conventions for pages that not all users might be aware of or might not adhere to