Module:Vital article: Difference between revisions

Content deleted Content added
add ^ and $
rename another
Line 59:
if topic then -- Category:Vital articles in TOPIC by quality
return top(true, frame)
.. '[[Category:Wikipedia vital articles in ' .. topic .. '|ClassQuality]]'
.. '[[Category:Vital articles by topic by quality|' .. (topic=='an unknown topic' and 'Unknown' or topic) .. ']]'
end
Line 66:
return top(true, frame)
.. '[[Category:' .. class .. ' vital articles|Topic]]'
.. '[[Category:Wikipedia vitalVital articles by classquality by topic|' .. class .. ']]'
end
topic = cat:match('^Wikipedia vital articles in ([%a ]+) by level$')