Module:Vital article: Difference between revisions

Content deleted Content added
empty category not needed on container categories
add support for Category:CLASS level-LEVEL vital articles
Line 90:
.. '[[Category:' .. class .. ' vital articles by topic|' .. (topic=='an unknown topic' and 'Unknown' or topic) .. ']]'
end
class, level = cat:match('^Wikipedia ([%a-]+) level%-(%w+) vital articles')
 
if class and level then -- Category:CLASS level-LEVEL vital articles
 
return top(false, frame)
.. '[[Category:Wikipedia ' .. class .. ' vital articles by level|' .. level .. ']]'
.. '[[Category:Wikipedia level-' .. level .. ' vital articles by class|' ..class .. ']]'
end
end