Extension:CookiePolicy

The CookiePolicy extension allows sites to be in compliance with a breathtakingly stupid European Union directive (law) on third-party cookies. If your site uses Google AdSense or a similar solution and your servers are located in the EU, after 30 September 2015 you need to display a "cookie consent" prompt.

This extension was originally written by Liz Lee for Wikia and further cleaned up and enhanced by Jack Phoenix for ShoutWiki.

Languages
Currently (18:52, 26 September 2015 (UTC)) CookiePolicy supports the following languages:


 * Danish (da)
 * German (de)
 * English (en)
 * Spanish (es)
 * Estonian (et)
 * Finnish (fi)
 * French (fr)
 * Italian (it)
 * Dutch (nl)
 * Norwegian (no)
 * Polish (pl)
 * Portuguese (pt)
 * Russian (ru)
 * Swedish (sv)
 * Simplfied Chinese (zh-hans)
 * Taiwan Chinese (zh-tw)

Configuration

 * &mdash; domain name (without protocol or trailing slash) of the GeoIP service; defaults to, which allows up to 10,000 queries per hour by default

You also need to set  to the URL of your site's privacy policy or similar page which explains about cookies. If you operate a wiki farm or a similar network, you can customize  to change it from the default   to your corporation's name, for example.

Usage
Users from European countries are displayed a bubble notification with a link to the site's cookie policy. If the user clicks on the notification, the notification will be dismissed and this choice is stored in a cookie.