Changes

Jump to: navigation, search

Module:Lua banner

300 bytes added, 14:29, 10 January 2020
no edit summary
end
local moduleList = mList.makeList('bulleted', moduleLinks)
boxArgs.text local title = 'This ' mw.title. getCurrentTitle() if title.subpageText == "doc" then (mwtitle = title.basePageTitle end if title.getCurrentTitle():inNamespaces(828,829) and contentModel == "Scribunto" then boxArgs.text = 'This moduledepends on the following other modules:' or 'template') ..moduleList else boxArgs.text = ' This template uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList end
end
boxArgs.type = 'notice'
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)
Root Admin, Bots, Bureaucrats, flow-bot, oversight, Administrators, Widget editors
24,654
edits

Navigation menu