Module:Protected edit request/active: Difference between revisions

Content deleted Content added
The usual name for interface administrators is IMO "interface administrator", not "interface-admin" (the MediaWiki group name)
m Protected "Module:Protected edit request/active": High-risk template or module: 300 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))
 
(8 intermediate revisions by 5 users not shown)
Line 1:
require('Module:No globalsstrict')
 
local yesno, makeMessageBox -- passed in from Module:Protected edit request
Line 337:
if title.namespace == 10 or title.namespace == 828 then -- Only add the transclusion count link for templates and modules.
local tclink = mw.uri.new{
host = 'toolstemplatecount.wmflabstoolforge.org',
path = '/templatecount/index.php',
query = {
lang = 'en',
Line 574:
extendedconfirmed = 'Wikipedia extended-confirmed-protected edit requests',
templateeditor = 'Wikipedia template-protected edit requests',
sysop = 'Wikipedia fully- protected edit requests',
interfaceadmin = 'Wikipedia interface-protected edit requests'
}
Line 585:
 
function box:export()
iflocal nottitle = self.titles.currentTitle.isTalkPage and not self.demo then
if not title.isTalkPage and not self.demo and not yesno(self.args.skiptalk) then
return '<span class="error">Error: Protected edit requests can only be made on the talk page.</span>[[Category:Non-talk pages with an edit request template]]'
end