Module:Flagg: Difference between revisions

Content deleted Content added
Fix a corner case involving "the" and secondary specific links that showed up at Disc golf
only use sandbox versions when our sandbox versions are used
Line 1:
local titleSelf = mw.title.new(... or mw.getCurrentFrame():getTitle())
local CountryDatatitleCountryData = require('mw.title.new[[Module:CountryData/sandbox')]]
if titleSelf.isSubpage then
local sandbox = titleSelf.subpageText:match[[^sandbox]]
if sandbox then
titleCountryData = titleCountryData:subPageTitle(sandbox)
end
end
local CountryData = require(tostring(titleCountryData))
local p = {}
local CountryData = require('Module:CountryData/sandbox')
 
function p.main(frame)