Module:Country links: Difference between revisions

Content deleted Content added
m Removed countries where donations are not accepted
update donate links to use wmf parameters
 
(2 intermediate revisions by the same user not shown)
Line 71:
function p.get_donate_url( language_code, country_code )
local url = 'https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage'
url = url .. '?utm_mediumwmf_medium=Waystogive&utm_sourcewmf_source=Waystogive&utm_campaignwmf_campaign=C11_Waystogive'
url = url .. '&uselang=' .. language_code
url = url .. '&country=' .. country_code
Line 125:
return 'en'
end
end
 
-- version we can #invoke with parameters
function p.get_country_name_wrapper( frame )
return p.get_country_name( frame.args[1], frame.args[2] )
end