Template:R from move/except: Difference between revisions
From Vigyanwiki
Template>Wbm1058 ({{error}} if the page transcluding this template is not a redirect) |
m (18 revisions imported from alpha:Template:R_from_move/except) |
||
| (9 intermediate revisions by 4 users not shown) | |||
| Line 4: | Line 4: | ||
|Template:R from move/except= | |Template:R from move/except= | ||
|#default=[[Category:Redirects from moves]] | |#default=[[Category:Redirects from moves]] | ||
}}{{#ifeq: {{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes | }}{{#ifeq: {{NAMESPACENUMBER}}|1| | ||
{{#ifeq: {{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes| | |||
{{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes| | {{#ifeq: {{#invoke:redirect|isRedirect|{{SUBJECTPAGENAME}}}}|yes| | ||
{{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}|| | {{#ifeq: {{PAGENAME:{{#invoke:redirect|main|{{TALKPAGENAME}}}}}}|{{PAGENAME:{{#invoke:redirect|main|{{SUBJECTPAGENAME}}}}}}|| | ||
| Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
|{{#ifexist:{{SUBJECTPAGENAME}}|[[Category:Articles with 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> | ||
Latest revision as of 14:58, 26 December 2022
This is the exception page for {{R from move}}. This page makes exceptions that include certain pages that should not inhabit either Category:Unsynchronized talk page redirects or Category:Redirects from moves. If necessary, new exceptions may be added with no need to edit the main template, {{R from move}}.
Template documentation
[create]