Template:R from move: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth account for talk pages of soft-redirected categories |
meta>Paine Ellsworth simplify code |
||
Line 13: | Line 13: | ||
|all category=Redirects from moves</includeonly> | |all category=Redirects from moves</includeonly> | ||
}} | }} | ||
}}<includeonly>{{#ifeq:{{FULLPAGENAME}}|MediaWiki:Move-redirect-text||[[Category:Redirects from moves]]}}{{#ifexist: {{SUBJECTPAGENAME}}|{{#ifexist: {{TALKPAGENAME}}|{{# | }}<includeonly>{{#ifeq:{{FULLPAGENAME}}|MediaWiki:Move-redirect-text||[[Category:Redirects from moves]]}}{{#ifexist: {{SUBJECTPAGENAME}}|{{#ifexist: {{TALKPAGENAME}}|{{#ifeq:{{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes|{{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}||{{#ifeq: {{FULLPAGENAME}}|{{SUBJECTPAGENAME}}||[[Category:Unsynchronized talk page redirects]]}}}}}}}}}}</includeonly><noinclude> | ||
<!-- Categories are to be placed on the /doc subpage; interwikis go to Wikidata. --> | <!-- Categories are to be placed on the /doc subpage; interwikis go to Wikidata. --> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 02:07, 2 November 2015
This rcat template is automatically added to all new redirects that result from page moves; it must be added manually to older redirects when appropriate.
When used with the "Redirect category shell" (Rcat shell) template:
This page is a redirect:
|
- Template {{Redirect category shell}} may be used to add one or more rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.
When used by itself:
- This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name. For more information follow the category link.