Template:R from move/except: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
en>Wbm1058 populate new subcategory Category:Redirects for discussion with talk page redirects – without making template loops! |
||
Line 5: | Line 5: | ||
|#default=[[Category:Redirects from moves]] | |#default=[[Category:Redirects from moves]] | ||
}}{{#ifeq: {{NAMESPACENUMBER}}|1| | }}{{#ifeq: {{NAMESPACENUMBER}}|1| | ||
{{#ifeq: {{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes| | |||
{{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes| | |||
{{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}|| | |||
{{#ifeq: {{FULLPAGENAME}}|{{SUBJECTPAGENAME}}|| | |||
{{#ifeq: {{Str left|{{PAGENAME}}|16}}|List of ships of||[[Category:Unsynchronized talk page redirects]] | |||
}} | |||
}} | |||
}} | |||
|{{#ifexist:{{SUBJECTPAGENAME}}| | |||
{{#ifeq: {{SUBJECTPAGENAME}}|{{Target of|{{SUBJECTPAGENAME:{{Target of|{{FULLPAGENAME}}}}}}}}|[[Category:Articles with unsynchronized talk page redirects]]| | |||
{{#ifexpr: {{#invoke:string|find|{{#invoke:page|getContent|{{SUBJECTPAGENAME}}|as=raw}}|#invoke:RfD}}|[[Category:Redirects for discussion with talk page redirects]]|[[Category:Articles with talk page redirects]]}}}} | |||
}} | |||
}} | |||
|{{error|Page is not a redirect, misplaced [[Template:R from move]]}} | |||
}} | }} | ||
}}<noinclude> | |||
}}<noinclude> | |||
{{Documentation|Template:R from move/doc}} | {{Documentation|Template:R from move/doc}} | ||
</noinclude> | </noinclude> |
Revision as of 17:38, 18 February 2022
This is the exception page for {{R from move}}. This page makes exceptions that include certain pages that should not inhabit either Template:Cat or Template:Cat. If necessary, new exceptions may be added with no need to edit the main template, {{R from move}}.