mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-23 22:03:41 +00:00
0307338213
Change-Id: I96b8c9a83a2ec1b3b517106530f9e68e35cc0c28
148 lines
3.1 KiB
JSON
148 lines
3.1 KiB
JSON
{
|
|
"name": "CookieWarning",
|
|
"version": "0.3.0",
|
|
"author": [
|
|
"Florian Schmidt",
|
|
"Liz Lee",
|
|
"Jack Phoenix",
|
|
"Ostrzyciel"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:CookieWarning",
|
|
"descriptionmsg": "cookiewarning-desc",
|
|
"type": "other",
|
|
"license-name": "MIT",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.41.0"
|
|
},
|
|
"MessagesDirs": {
|
|
"CookieWarning": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"HookHandlers": {
|
|
"main": {
|
|
"class": "CookieWarning\\Hooks",
|
|
"services": [
|
|
"CookieWarning.Config",
|
|
"CookieWarning.Decisions",
|
|
"UserOptionsManager"
|
|
]
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"SkinAfterContent": "main",
|
|
"GetPreferences": "main",
|
|
"BeforeInitialize": "main",
|
|
"BeforePageDisplay": "main",
|
|
"ResourceLoaderGetConfigVars": "main"
|
|
},
|
|
"config": {
|
|
"CookieWarningEnabled": false,
|
|
"CookieWarningMoreUrl": "",
|
|
"CookieWarningGeoIPServiceURL": "",
|
|
"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",
|
|
"mediawiki.user"
|
|
],
|
|
"scripts": "resources/ext.CookieWarning/ext.CookieWarning.js",
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
},
|
|
"ext.CookieWarning.styles": {
|
|
"styles": "resources/ext.CookieWarning/ext.CookieWarning.less",
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
},
|
|
"ext.CookieWarning.geolocation": {
|
|
"scripts": "resources/ext.CookieWarning.geolocation/cookiePolicy.js",
|
|
"dependencies": [
|
|
"ext.CookieWarning",
|
|
"mediawiki.cookie"
|
|
],
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
},
|
|
"ext.CookieWarning.geolocation.styles": {
|
|
"styles": "resources/ext.CookieWarning.geolocation/styles.css",
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteExtPath": "CookieWarning"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"CookieWarning\\": "includes/"
|
|
},
|
|
"ConfigRegistry": {
|
|
"cookiewarning": "GlobalVarConfig::newInstance"
|
|
},
|
|
"ServiceWiringFiles": [
|
|
"includes/ServiceWiring.php"
|
|
],
|
|
"manifest_version": 1
|
|
}
|