Index: trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang, |
39 | 39 | $wgVariantArticlePath, $wgActionPaths, $wgUseAjax, $wgVersion, |
40 | 40 | $wgEnableAPI, $wgEnableWriteAPI, $wgDBname, $wgEnableMWSuggest, |
41 | | - $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath, $wgProto; |
| 41 | + $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath, $wgProto, $wgCookiePrefix; |
42 | 42 | |
43 | 43 | // Pre-process information |
44 | 44 | $separatorTransTable = $wgContLang->separatorTransformTable(); |
— | — | @@ -90,6 +90,8 @@ |
91 | 91 | 'wgAvailableSkins' => Skin::getSkinNames(), |
92 | 92 | 'wgExtensionAssetsPath' => $wgExtensionAssetsPath, |
93 | 93 | 'wgProto' => $wgProto, |
| 94 | + // mediawiki sets cookies to have this prefix by default |
| 95 | + 'wgCookiePrefix' => $wgCookiePrefix, |
94 | 96 | ); |
95 | 97 | if ( $wgUseAjax && $wgEnableMWSuggest ) { |
96 | 98 | $vars['wgMWSuggestTemplate'] = SearchEngine::getMWSuggestTemplate(); |