Module:Vital article: Difference between revisions

Content deleted Content added
start header function
wrong way round
Line 52:
.. '[[Category:' .. class .. (class=='Unassessed' and '' or '-Class') .. ' vital articles by topic|' .. (topic=='an unknown topic' and 'Unknown' or topic) .. ']]'
end
classtopic = cat:match('^Wikipedia vital articles in ([%a ]+) by class$')
if classtopic then
return top(true, frame)
.. '[[Category:Wikipedia vital articles in ' .. topic .. '|Class]]'
.. '[[Category:Wikipedia vital articles by topic by class|' .. topic .. ']]'
end
topicclass = cat:match('^(%a+)-Class vital articles by topic$')
if topicclass then
return top(true, frame)
.. '[[Category:' .. class .. (class=='Unassessed' and '' or '-Class') .. '-Class vital articles|Topic]]'