Difference between revisions of "Module:Extension"
Dropped support for deprecated types since Category:Extensions with deprecated types is empty and has been for a while
>P858snake m (+CC-BY-SA-2.0-UK) |
>Pppery (Dropped support for deprecated types since Category:Extensions with deprecated types is empty and has been for a while) |
||
Line 95: | Line 95: | ||
['user activity'] = { '[[Manual:Security|User activity]]', 'User activity extensions' }, | ['user activity'] = { '[[Manual:Security|User activity]]', 'User activity extensions' }, | ||
variable = { '[[Manual:Variables|Variable]]', 'Variable extensions' }, | variable = { '[[Manual:Variables|Variable]]', 'Variable extensions' }, | ||
} | } | ||
Line 107: | Line 101: | ||
pfunc = 'parser function', | pfunc = 'parser function', | ||
special = 'special page', | special = 'special page', | ||
} | } | ||
Line 145: | Line 128: | ||
if cnf then | if cnf then | ||
res = cnf[1] .. '[[Category:' .. cnf[2] .. translation .. ']]' | res = cnf[1] .. '[[Category:' .. cnf[2] .. translation .. ']]' | ||
else | else | ||
if str == '_missing_' then | |||
if | |||
res = tcat( 'Extensions with invalid or missing type' ) | res = tcat( 'Extensions with invalid or missing type' ) | ||
elseif str == '_demomode_' then | elseif str == '_demomode_' then |