FANDOM


[edit] Template-info Template documentation

This is the {{Rename}} template. It provides a link to Special:MovePage with the input fields already filled according to the template parameters.

Usage

{{rename | old title = | new title = | reason =}}

Example

{{rename | old title = Silly page| new title = Dummy page| reason = Because it's a better title.}}

gives

Rename to Dummy page

(which will not work in this case because there is no page named "Silly page"—hopefully).

Technical details

{{Rename}} passes the following parameters to Special:MovePage:

wpOldTitle
"Rename page:", template parameter old title
wpNewTitle
"To new title:", template parameter new title
wpReason
"Reason:", template parameter reason
wpLeaveRedirect
"Leave a redirect behind", always 1 (checked)
wpMovetalk
"Rename associated talk page", always 1 (checked)
wpMovesubpages
"Rename subpages of talk page (up to 100)" if there are comments but no subpages, always 1 (checked)
"Rename subpages (up to 100)" if there are subpages and/or comments, always 1 (checked)

wpMovetalk and wpMovesubpages are sent no matter if the page to be renamed has comments or subpages. If it hasn't, the parameters have no effect; if it has, it is ensured that users don't forget to check them.

Community content is available under CC-BY-SA unless otherwise noted.