Extension:WikimediaShopLink

Adds a geolocated link in the sidebar to the Wikimedia Shop but could also be used for other links. It currently looks for a specific spot in the sidebar and inserts the link there if the users country matches one of the targets regions.

Configuration parameters

 * $wgDisplayShopLink: (Default: false) Enables or disables the extension. Make sure to explicitly enable before you want to use.
 * $wgShopLink: (Default: //wikimedia.myshopify.org) The link target for inserted link
 * $wgShowLinkTargets: (Default: empty) Array of countries to be targeted (using 2 letter uppercase ISO codes).