Bureaucrats, rtl-contributors, Administrators
1,619
edits
m (1 revision imported from wikipedia:Module:Lua_banner) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 35:
moduleLinks[i] = string.format('[[:%s]]', module)
local maybeSandbox = mw.title.new(module .. '/sandbox')
if maybeSandbox and maybeSandbox.exists then
moduleLinks[i] = moduleLinks[i] .. string.format(' ([[:%s|sandbox]])', maybeSandbox.fullText)
end
Line 110:
for i, module in ipairs(modules) do
if module ~= "WP:libraryUtil" then
local
local moduleProt = moduleTitle and moduleTitle.protectionLevels["edit"][1]
if moduleProt == nil then moduleProt = 0 else moduleProt = protLevels[moduleProt] end
if moduleProt < currentProt then
|