Module:Protected edit request/active: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
support extended-confirmed edit requests
syncing with sandbox after short discussion (conditional message about sandbox and testcases usage when in template/module namespaces)
Line 438:
.. 'You may also wish to use the %s template in the response.'
smallText = mw.ustring.format(stringToFormat, userText, answeredPara, blurb.makeTemplateLink('ESp'))
end
 
if not isPlural then
local title = titles[1]
if title.namespace == 10 or title.namespace == 828 then
local sandboxTitle = title:getSubpageTitle('sandbox')
if sandboxTitle and sandboxTitle.exists then
smallText = smallText .. ' Consider making changes first to the '
.. sandboxTitle:makeViewLink(title.pagetype .. "'s sandbox")
local testcasesTitle = title:getSubpageTitle('testcases')
if testcasesTitle and testcasesTitle.exists then
smallText = smallText .. ' and ' .. testcasesTitle:makeViewLink('test them thoroughly here')
end
smallText = smallText .. ' before submitting an edit request.'
end
end
end
if hasNonInterfacePage then