r86580 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86579‎ | r86580 | r86581 >
Date:00:06, 21 April 2011
Author:nimishg
Status:ok
Tags:
Comment:
added wgCookiePrefix to exported variables
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php
@@ -37,7 +37,7 @@
3838 $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang,
3939 $wgVariantArticlePath, $wgActionPaths, $wgUseAjax, $wgVersion,
4040 $wgEnableAPI, $wgEnableWriteAPI, $wgDBname, $wgEnableMWSuggest,
41 - $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath, $wgProto;
 41+ $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath, $wgProto, $wgCookiePrefix;
4242
4343 // Pre-process information
4444 $separatorTransTable = $wgContLang->separatorTransformTable();
@@ -90,6 +90,8 @@
9191 'wgAvailableSkins' => Skin::getSkinNames(),
9292 'wgExtensionAssetsPath' => $wgExtensionAssetsPath,
9393 'wgProto' => $wgProto,
 94+ // mediawiki sets cookies to have this prefix by default
 95+ 'wgCookiePrefix' => $wgCookiePrefix,
9496 );
9597 if ( $wgUseAjax && $wgEnableMWSuggest ) {
9698 $vars['wgMWSuggestTemplate'] = SearchEngine::getMWSuggestTemplate();

Status & tagging log