Module:English variant notice: Difference between revisions

Content deleted Content added
fix
fix, hopefully
Line 9:
local args = mArguments.getArgs(frame, {parentFirst = true})
title = mw.title.getCurrentTitle()
if mw.title.equals(title, mw.title.makeTitle('Template', title.rootText)) then --if it is on template page, load doc
if not (title.rootText == 'English variant notice/documentation') then --prevent template loop
return frame:expandTemplate {title = 'English variant notice/documentation', args = args}
end