Template:R from move/except: Difference between revisions

populate new subcategory Category:Redirects for discussion with talk page redirects – without making template loops!
m (1 revision imported)
(populate new subcategory Category:Redirects for discussion with talk page redirects – without making template loops!)
Line 14: Line 14:
         }}
         }}
       |{{#ifexist:{{SUBJECTPAGENAME}}|
       |{{#ifexist:{{SUBJECTPAGENAME}}|
         {{#ifeq: {{SUBJECTPAGENAME}}|{{Target of|{{SUBJECTPAGENAME:{{Target of|{{FULLPAGENAME}}}}}}}}|[[Category:Articles with unsynchronized talk page redirects]]|[[Category:Articles with talk page redirects]]}}
         {{#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]]}}}}
         }}
         }}
       }}
       }}
Anonymous user