Content deleted Content added
replace |link box= value with Lua; streamlined code to |
mNo edit summary |
||
Line 40:
ts = 'tempsort' .. v
}
''▼
.. (page and--True if catStub called by p.templatepage
('|' .. (
Line 51 ⟶ 50:
)
}
if page then
if not mw.title.new('Category:' .. args[key.cat]).exists then
table.insert(missingCats, key.cat)
end
hasDoc = v == '' and pageDoc.exists or false
.. (hasDoc
or ''
▲ if not hasDoc and not string.match(args[key.cat], ' stubs$') then
▲ wikitext = wikitext .. category('S', page.text)
stubCats[k] = {args[key.cat], key.cat}--values to be used in population()
end
|