Module:Documentation: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(sync sandbox. Fix (mirror) link for creating a sandbox.) |
(show padlock in other namespaces, e.g. userspace) |
||
Line 406: | Line 406: | ||
local protectionLevels, mProtectionBanner |
local protectionLevels, mProtectionBanner |
||
local title = env.title |
local title = env.title |
||
if title.namespace ~= 10 and title.namespace ~= 828 then |
|||
-- Don't display the protection template if we are not in the template or module namespaces. |
|||
return nil |
|||
end |
|||
protectionLevels = env.protectionLevels |
protectionLevels = env.protectionLevels |
||
if not protectionLevels then |
if not protectionLevels then |