Module:Country links: Difference between revisions
Content deleted Content added
add wrapper function for get_country_name that we can #invoke with parameters |
update donate links to use wmf parameters |
||
(One intermediate revision 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 .. '?
url = url .. '&uselang=' .. language_code
url = url .. '&country=' .. country_code
Line 128:
-- 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
|