Module:Submit an edit request: Difference between revisions

Content deleted Content added
per tper
per request
Line 61:
titleObj = titleObj or mw.title.getCurrentTitle()
if isTranscludedOnMainPage(titleObj) then
local basePage = titleObj.basePageTitle.fullText
return tostring(mw.uri.fullUrl(message('main-page-request-page')))
if cfg['main-page-content'][basePage] then
return tostring(mw.uri.fullUrl(message('main-page-request-page')))
end
end
local talkPageName = titleObj.talkPageTitle