Module:Article stub box: Difference between revisions

Content deleted Content added
hidden chars won't cause false categorization; bug involving E and W sortkey
Od Mishehu (talk | contribs)
m rm extra parentheses
Line 17:
p.cats = setmetatable({}, {__newindex = function(t, i, v)
if not rawget(t, i) then
rawsetrawsept(t, i, v)
table.insert(t, i)
end
Line 126:
--Shows population of categories found by catStub(). Outputs demo values if none
local function population()
local wikitext, base = {}, '* [[:Category:%s]] (population: (%s)\n'
if not args.category and stubCats[1] ~= false then
table.insert(stubCats, 1, false)