Jump to content

Template:Fix: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add detection for template substitution and populate Category:Pages with incorrectly substituted templates
Line 1: Line 1:
{{#ifeq:{{{substcheck|¬}}}|SUBST
{{#switch:{{{substcheck|¬}}}
|¬={{category handler
|[[Category:Pages with incorrectly substituted templates]]
|Template=[[Category:Templates needing substitution checking]]
|nocat={{{nocat|<noinclude>true</noinclude>}}}
}}
|SUBST=[[Category:Pages with incorrectly substituted templates]]
}}{{cat handler
}}{{cat handler
|main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}
|main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}

Revision as of 09:20, 28 June 2011