Module:Article stub box: Difference between revisions

Content deleted Content added
m code simplification and performance improvements
m move closer to user
Line 11:
Both templates had significant contributions from numerous others listed in the revision history tab of their respective pages.
--]]
local WRAPPER_TEMPLATE, catTag, catKey, args = 'Template:Asbox', '[[Category:%s]]', '%s|%s%s'
local p, Buffer, stubCats = {
--Prevents dupli-cats... get it? Maybe not?
Line 36:
or a table of strings and/or tables containing parts. (See below)
]]
local attention, catTag, catKey = Buffer'Stub message templates needing attention', '[[Category:%s]]', '%s|%s%s'
local function category(cat)
for _, v in ipairs((tostring(cat) == cat or cat.t) and {cat} or cat) do