Module:Protected edit request/active: Difference between revisions

Content deleted Content added
m Try to use correct response template in message
m Fix
Line 430:
elseif boxProtectionLevel == 'autoconfirmed' then
userText = '[[Wikipedia:User access levels#Autoconfirmed|autoconfirmed]] user'
responseTemplate = blurb.makeTemplateLink('EIp')
elseif boxProtectionLevel == 'interfaceadmin' then
userText = '[[Wikipedia:User access levels#Interface administrators|interface-admin]]'
responseTemplate = blurb.makeTemplateLink('ESp')
else
userText = 'user'
responseTemplate = blurb.makeTemplateLink('ESp')
end
local answeredPara = blurb.makeParaText('answered', 'no')
Line 443:
.. "This is so that inactive or completed requests don't needlessly fill up the edit requests category. "
.. 'You may also wish to use the %s template in the response.'
smallText = mw.ustring.format(stringToFormat, userText, answeredPara, blurb.makeTemplateLink(responseTemplate))
end