Changes

Jump to: navigation, search

Module:Lua banner

123 bytes added, 4 years ago
m
1 revision imported: import new versions of stuff from Wikipedia ({{Navbox with collapsible subgroups}}, {{Noitalic}}, Module:List, Module:Navbox, &c.)
end
local moduleList = mList.makeList('bulleted', moduleLinks)
boxArgs.text = 'This ' ..
(mw.title.getCurrentTitle():inNamespaces(828,829) and 'module' or 'template') ..
' uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
return ''
end
local cats = {}
-- Error category
if #modules < 1 then
cats[#cats + 1] = 'Lua templates with errors'
end
-- Lua templates category
titleObj = titleObj or mw.title.getCurrentTitle()
testcases = true
}
if titleObj.namespace == 10
and not subpageBlacklist[titleObj.subpageText]
then
sysop = 4
}
local currentProt if titleObj.id ~= 0 then -- id is 0 (page does not exist) if am previewing before creating a template. currentProt = titleObj.protectionLevels["edit"][1] end
if currentProt == nil then currentProt = 0 else currentProt = protLevels[currentProt] end
for i, module in ipairs(modules) do
end
end
for i, cat in ipairs(cats) do
cats[i] = string.format('[[Category:%s]]', cat)

Navigation menu