Anonymous user
Module:Documentation: Difference between revisions
Testing
No edit summary |
(Testing) |
||
Line 405:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels, mProtectionBanner▼
local title = env.title
if title.namespace ~= 10 and title.namespace ~= 828 then▼
local protectionTemplate = message('protection-template')
local namespace = title.namespace
-- Don't display the protection template if we are not in the template or module namespaces.
return nil
Line 415 ⟶ 417:
return nil
end
local
local
if moveLevels and moveLevels[1] == 'sysop' or editLevels and editLevels[1] then
-- The page is
local frame = mw.getCurrentFrame()
else
return nil
|