Merge "Use mw.config instead of window.mw.config in JavaScript"

This commit is contained in:
jenkins-bot 2018-08-27 20:43:42 +00:00 committed by Gerrit Code Review
commit 7ad7213628

View file

@ -20,7 +20,7 @@
// Store the result in a cookie (ah, the sweet, sweet irony) to
// avoid hitting the geolocation service unnecessarily
$.cookie( 'euCookieWarningCountryCode', countryCode, {
domain: window.mw.config.get( 'wgCookieDomain' ),
domain: mw.config.get( 'wgCookieDomain' ),
path: '/',
expires: 30
} );