Content deleted Content added
another one |
more categories being renamed |
||
Line 56:
local cat = pargs.category~='' and pargs.category or mw.title.getCurrentTitle().subjectPageTitle.text
local topic, class, level
topic = cat:match('^
if topic then -- Category:
return top(true, frame)
.. '[[Category:Wikipedia vital articles in ' .. topic .. '|Class]]'
.. '[[Category:
end
class = cat:match('^([%a-]+) vital articles by topic$')
Line 123:
if class and topic then -- Category:CLASS vital articles in TOPIC
return top(false, frame)
.. '[[Category:
.. '[[Category:' .. class .. ' vital articles by topic|' .. (topic=='an unknown topic' and 'Unknown' or topic) .. ']]'
end
|