Module:Vital article: Difference between revisions

Content deleted Content added
+ normalizeTitle(title)
renaming come categories
Line 86:
.. '[[Category:Wikipedia vital articles by class by level|' .. class .. ']]'
end
level = cat:match('Wikipedia level%-(%w+) vital articles by classquality')
if level then -- Category:Wikipedia level-LEVEL vital articles by classquality
return top(true, frame)
.. '[[Category:Wikipedia level-' .. level .. ' vital articles|ClassQuality]]'
.. '[[Category:Wikipedia vital articles by level by classquality|' .. level .. ']]'
end
topic = cat:match('^Wikipedia vital articles in ([%a ]+)$')
Line 106:
return top(false, frame)
.. '[[Category:Wikipedia ' .. class .. ' vital articles by level|' .. level .. ']]'
.. '[[Category:Wikipedia level-' .. string.lower(level) .. ' vital articles by classquality|' ..class .. ']]'
end
class = cat:match('^([%a-]+) vital articles$')