X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Fresourceloader%2FResourceLoaderStartUpModule.php;h=d4359c5707a16630d2c066c2ad0b7c587c629afa;hb=7c585b5a33d57469d19e9b176f14b84403488b73;hp=d0f05416f86de3cc309835eaf4bb6ac9a2ea987e;hpb=dee933ec6738a0dadbc151d8aff200a1551a5142;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/resourceloader/ResourceLoaderStartUpModule.php b/includes/resourceloader/ResourceLoaderStartUpModule.php index d0f05416f8..d4359c5707 100644 --- a/includes/resourceloader/ResourceLoaderStartUpModule.php +++ b/includes/resourceloader/ResourceLoaderStartUpModule.php @@ -48,7 +48,8 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule { $wgVariantArticlePath, $wgActionPaths, $wgVersion, $wgEnableAPI, $wgEnableWriteAPI, $wgDBname, $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath, - $wgCookiePrefix, $wgResourceLoaderMaxQueryLength, + $wgCookiePrefix, $wgCookieDomain, $wgCookiePath, + $wgCookieExpiration, $wgResourceLoaderMaxQueryLength, $wgResourceLoaderStorageEnabled, $wgResourceLoaderStorageVersion, $wgSearchType; @@ -104,6 +105,9 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule { 'wgExtensionAssetsPath' => $wgExtensionAssetsPath, // MediaWiki sets cookies to have this prefix by default 'wgCookiePrefix' => $wgCookiePrefix, + 'wgCookieDomain' => $wgCookieDomain, + 'wgCookiePath' => $wgCookiePath, + 'wgCookieExpiration' => $wgCookieExpiration, 'wgResourceLoaderMaxQueryLength' => $wgResourceLoaderMaxQueryLength, 'wgCaseSensitiveNamespaces' => $caseSensitiveNamespaces, 'wgLegalTitleChars' => Title::convertByteClassToUnicodeClass( Title::legalChars() ),