Module:Protected edit request/active: Difference between revisions

m
→‎top: Fixing name
(Created page with "require('Module:No globals') local yesno, makeMessageBox -- passed in from Module:Protected edit request local makeToolbar = require('Module:Toolbar')._main local getPagetype...")
 
m (→‎top: Fixing name)
Line 558: Line 558:
end
end
local protectionCats = {
local protectionCats = {
autoconfirmed = 'Wikipedia semi-protected edit requests',
autoconfirmed = 'Bharatpedia semi-protected edit requests',
extendedconfirmed = 'Wikipedia extended-confirmed-protected edit requests',
extendedconfirmed = 'Bharatpedia extended-confirmed-protected edit requests',
templateeditor = 'Wikipedia template-protected edit requests',
templateeditor = 'Bharatpedia template-protected edit requests',
sysop = 'Wikipedia fully-protected edit requests',
sysop = 'Bharatpedia fully-protected edit requests',
interfaceadmin = 'Wikipedia interface-protected edit requests'
interfaceadmin = 'Bharatpedia interface-protected edit requests'
}
}
addCat(protectionCats[boxProtectionLevel])
addCat(protectionCats[boxProtectionLevel])
if self.titles:hasOtherProtectionLevel(boxProtectionLevel) then
if self.titles:hasOtherProtectionLevel(boxProtectionLevel) then
addCat('Wikipedia edit requests possibly using incorrect templates')
addCat('Bharatpedia edit requests possibly using incorrect templates')
end
end
return table.concat(cats)
return table.concat(cats)