Content deleted Content added
allow use of b-checklist without affecting quality class |
start category list |
||
Line 111:
local add_category = function(category, key)
if category and category~='none' then
if args.demo_page then▼
local cat_link = wikilink('Category:' .. category, key)▼
▲ table.insert(categories, cat_link)
end▼
end
end
Line 641 ⟶ 636:
:wikitext(wikilink(project_link.prefixedText, project) .. nested_tf_str .. ' ' .. nested_ratings_str)
:allDone()
---------------------------
-- Prepare categories -----
---------------------------
local categories_formatted
local category_list = mw.html.new('div')
:wikitext('Categories:')
categories_formatted = tostring(category_list)
else
local categories_linked = {}
for _, cat in ipairs(categories) do
categories_formatted = table.concat(categories_linked)
end
---------------------------
-- Make banner ------------
|