Module:Pp-move-indef: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
no edit summary
(Created page with "-- This module implements Template:Pp-move-indef. local p = {} function p.main(title) if type(title) == 'string' then title = mw.title.new(title) elseif type(title)...")
 
No edit summary
 
Line 21: Line 21:
if level == 'sysop' or level == 'templateeditor' then
if level == 'sysop' or level == 'templateeditor' then
if namespace == 2 or namespace == 3 then
if namespace == 2 or namespace == 3 then
category = 'Wikipedia move-protected user and user talk pages'
category = 'Chalo Chatu move-protected user and user talk pages'
elseif namespace == 4 or namepace == 12 then
elseif namespace == 4 or namepace == 12 then
category = 'Wikipedia move-protected project pages'
category = 'Chalo Chatu move-protected project pages'
elseif namespace == 100 then
elseif namespace == 100 then
category = 'Wikipedia move-protected portals'
category = 'Chalo Chatu move-protected portals'
elseif title.isTalkPage then
elseif title.isTalkPage then
category = 'Wikipedia move-protected talk pages'
category = 'Chalo Chatu move-protected talk pages'
else
else
category = 'Wikipedia indefinitely move-protected pages'
category = 'Chalo Chatu indefinitely move-protected pages'
end
end
else
else
category = 'Wikipedia pages with incorrect protection templates'
category = 'Chalo Chatu pages with incorrect protection templates'
end
end


Administrators, upwizcampeditors
0

edits