Module:Country links: Difference between revisions

Content deleted Content added
Created page with "local p = {} local country_names_data = mw.loadJsonData( 'User:Pcoombe/sandbox.json' ) function p.get_country_name( language_code, country_code ) local name if country_names_data[language_code] == nil then language_code = 'en' end local name = country_names_data[language_code][country_code] return name end function p.get_donate_url( language_code, country_code ) local url = 'https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage?utm_medium=Wayst..."
 
No edit summary
Line 1:
local p = {}
local country_names_data = mw.loadJsonData( 'UserModule:PcoombeCountry links/sandboxdata.json' )
 
function p.get_country_name( language_code, country_code )