Module:Protected edit request/active: Difference between revisions

m
→‎top: clean up, replaced: Wikipedia: → Bharatpedia: (6)
m (→‎top: Fixing name)
m (→‎top: clean up, replaced: Wikipedia: → Bharatpedia: (6))
 
Line 361: Line 361:
function blurb:makeIntro()
function blurb:makeIntro()
local titles = self.titles
local titles = self.titles
local requested = 'It is [[Wikipedia:Edit requests|requested]] that'
local requested = 'It is [[Bharatpedia:Edit requests|requested]] that'
local protectionText
local protectionText
if titles:hasNonInterfacePage() then
if titles:hasNonInterfacePage() then
Line 421: Line 421:
templateFullText = 'template-protected'
templateFullText = 'template-protected'
end
end
smallText = 'Edit requests to ' .. templateFullText .. " pages should only be used for edits that are either '''uncontroversial''' or supported by [[Wikipedia:Consensus|consensus]]."
smallText = 'Edit requests to ' .. templateFullText .. " pages should only be used for edits that are either '''uncontroversial''' or supported by [[Bharatpedia:Consensus|consensus]]."
.. " If the proposed edit might be controversial, discuss it on the protected page's talk page '''before''' using this template."
.. " If the proposed edit might be controversial, discuss it on the protected page's talk page '''before''' using this template."
else
else
Line 427: Line 427:
local responseTemplate
local responseTemplate
if boxProtectionLevel == 'extendedconfirmed' then
if boxProtectionLevel == 'extendedconfirmed' then
userText = '[[Wikipedia:User access levels#Extended confirmed users|extended confirmed]] user'
userText = '[[Bharatpedia:User access levels#Extended confirmed users|extended confirmed]] user'
responseTemplate = blurb.makeTemplateLink('EEp')
responseTemplate = blurb.makeTemplateLink('EEp')
elseif boxProtectionLevel == 'autoconfirmed' then
elseif boxProtectionLevel == 'autoconfirmed' then
userText = '[[Wikipedia:User access levels#Autoconfirmed|autoconfirmed]] user'
userText = '[[Bharatpedia:User access levels#Autoconfirmed|autoconfirmed]] user'
responseTemplate = blurb.makeTemplateLink('ESp')
responseTemplate = blurb.makeTemplateLink('ESp')
elseif boxProtectionLevel == 'interfaceadmin' then
elseif boxProtectionLevel == 'interfaceadmin' then
userText = '[[Wikipedia:User access levels#Interface administrators|interface-admin]]'
userText = '[[Bharatpedia:User access levels#Interface administrators|interface-admin]]'
responseTemplate = blurb.makeTemplateLink('EIp')
responseTemplate = blurb.makeTemplateLink('EIp')
else
else
Line 463: Line 463:
end
end
if hasNonInterfacePage then
if hasNonInterfacePage then
smallText = smallText .. ' To request that a page be protected or unprotected, make a [[Wikipedia:Requests for page protection|protection request]].'
smallText = smallText .. ' To request that a page be protected or unprotected, make a [[Bharatpedia:Requests for page protection|protection request]].'
end
end
if boxProtectionLevel == 'sysop' or boxProtectionLevel == 'templateeditor' or boxProtectionLevel == 'interfaceadmin' then
if boxProtectionLevel == 'sysop' or boxProtectionLevel == 'templateeditor' or boxProtectionLevel == 'interfaceadmin' then
Bots, trusted
7,437

edits