Module:English variant notice: Difference between revisions

Content deleted Content added
fix, hopefully
maybe?
Line 10:
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 (mw.title.rootTextequals(title, ==mw.title.makeTitle('Template', 'English variant notice/documentation'))) then --prevent template loop
return frame:expandTemplate {title = 'English variant notice/documentation', args = args}
end