mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-23 22:03:41 +00:00
Add missing dependencies on modules
* Module 'ext.CookieWarning' depends on module 'mediawiki.user' because ext.CookieWarning.js uses mw.user.isAnon. * Module 'ext.CookieWarning.geolocation' depends on module 'jquery.cookie' because cookiePolicy.js uses $.cookie. Change-Id: Idd5cba6c997a8ad835f7244cf971a7839102b995
This commit is contained in:
parent
e57c24ed6d
commit
5af96e1d18
|
@ -81,7 +81,8 @@
|
|||
"ext.CookieWarning": {
|
||||
"dependencies": [
|
||||
"mediawiki.api",
|
||||
"mediawiki.cookie"
|
||||
"mediawiki.cookie",
|
||||
"mediawiki.user"
|
||||
],
|
||||
"scripts": "resources/ext.CookieWarning/ext.CookieWarning.js",
|
||||
"targets": [
|
||||
|
@ -100,7 +101,10 @@
|
|||
},
|
||||
"ext.CookieWarning.geolocation": {
|
||||
"scripts": "resources/ext.CookieWarning.geolocation/cookiePolicy.js",
|
||||
"dependencies": "ext.CookieWarning",
|
||||
"dependencies": [
|
||||
"ext.CookieWarning",
|
||||
"jquery.cookie"
|
||||
],
|
||||
"targets": [
|
||||
"mobile",
|
||||
"desktop"
|
||||
|
|
Loading…
Reference in a new issue