Extension:WikimediaShopLink

What can this extension do?
This extension is intended to add a geolocated link on the sidebar to the Wikimedia Shop but could also be used for other links. It currently looks for a specific spot on the sidebar and inserts the link there if the users country matches one of the targets regions.

Installation
To install this extension, add the following to LocalSettings.php after downloading the latest snapshop to 'extensions/WikimediaShopLink':

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) = Comma separated list of countries to be targeted using 2 letter ISO codes.