mediawiki-extensions-Cookie.../extension.json
Florian Schmidt 9b342e875b Redesign mobile CookieWarning banner
Based on design input from Reading web team (Nirzar).

Bug: T146077
Change-Id: I99aa74842486c4c397462dd51f55c272ae17ad07
2017-01-11 23:06:25 +01:00

132 lines
3.1 KiB
JSON

{
"name": "CookieWarning",
"version": "0.2.0",
"author": [
"Florian Schmidt",
"Liz Lee",
"Jack Phoenix"
],
"url": "https://www.droidwiki.de",
"descriptionmsg": "cookiewarning-desc",
"type": "other",
"license-name": "MIT",
"MessagesDirs": {
"CookieWarning": [
"i18n"
]
},
"Hooks": {
"SkinTemplateOutputPageBeforeExec": "CookieWarningHooks::onSkinTemplateOutputPageBeforeExec",
"BeforePageDisplay": "CookieWarningHooks::onBeforePageDisplay",
"GetPreferences": "CookieWarningHooks::onGetPreferences",
"BeforeInitialize": "CookieWarningHooks::onBeforeInitialize",
"ResourceLoaderGetConfigVars": "CookieWarningHooks::onResourceLoaderGetConfigVars"
},
"config": {
"CookieWarningEnabled": false,
"CookieWarningMoreUrl": "",
"CookieWarningGeoIPServiceURL": "//freegeoip.net/json/",
"CookieWarningGeoIPLookup": "none",
"CookieWarningForCountryCodes": {
"EU": "Europe",
"AD": "Andorra",
"AL": "Albania",
"AT": "Austria",
"BA": "Bosnia and Herzegovina",
"BE": "Belgium",
"BG": "Bulgaria",
"BY": "Belarus",
"CH": "Switzerland",
"CS": "Serbia and Montenegro",
"CZ": "Czech Republic",
"DE": "Germany",
"DK": "Denmark",
"EE": "Estonia",
"ES": "Spain",
"FI": "Finland",
"FO": "Faroe Islands",
"FR": "France",
"FX": "France, Metropolitan",
"GB": "United Kingdom",
"GI": "Gibraltar",
"GR": "Greece",
"HR": "Croatia",
"HU": "Hungary",
"IE": "Ireland",
"IS": "Iceland",
"IT": "Italy",
"LI": "Liechtenstein",
"LT": "Lithuania",
"LU": "Luxembourg",
"LV": "Latvia",
"MC": "Monaco",
"MD": "Moldova, Republic of",
"MK": "Macedonia",
"MT": "Malta",
"NL": "Netherlands",
"NO": "Norway",
"PL": "Poland",
"PT": "Portugal",
"RO": "Romania",
"SE": "Sweden",
"SI": "Slovenia",
"SJ": "Svalbard and Jan Mayen",
"SK": "Slovakia",
"SM": "San Marino",
"UA": "Ukraine",
"VA": "Holy See (Vatican City State)"
}
},
"ResourceModules": {
"ext.CookieWarning": {
"dependencies": [
"mediawiki.api",
"mediawiki.cookie"
],
"scripts": "resources/ext.CookieWarning/ext.CookieWarning.js",
"targets": [
"mobile",
"desktop"
]
},
"ext.CookieWarning.styles": {
"position": "top",
"styles": "resources/ext.CookieWarning/ext.CookieWarning.less"
},
"ext.CookieWarning.mobile.styles": {
"styles": "resources/ext.CookieWarning/ext.CookieWarning.mobile.less",
"targets": [
"mobile"
]
},
"ext.CookieWarning.geolocation": {
"scripts": "resources/ext.CookieWarning.geolocation/cookiePolicy.js",
"dependencies": "ext.CookieWarning",
"targets": [
"mobile",
"desktop"
]
},
"ext.CookieWarning.geolocation.styles": {
"position": "top",
"styles": "resources/ext.CookieWarning.geolocation/styles.css",
"targets": [
"mobile",
"desktop"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "CookieWarning"
},
"AutoloadClasses": {
"CookieWarningHooks": "includes/CookieWarning.hooks.php",
"GeoLocation": "includes/GeoLocation.php"
},
"ConfigRegistry": {
"cookiewarning": "GlobalVarConfig::newInstance"
},
"manifest_version": 1
}