Template:Fix: Difference between revisions

From Vigyanwiki
Template>MSGJ
(add detection for template substitution and populate Category:Pages with incorrectly substituted templates)
Template>MSGJ
Line 1: Line 1:
{{#ifeq:{{{substcheck|¬}}}|SUBST
{{#switch:{{{substcheck|¬}}}
  |[[Category:Pages with incorrectly substituted templates]]
|¬={{category handler
  |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 14:50, 28 June 2011

Template:Cat handler Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.