MediaWiki r86580 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r86579‎ | r86580 (on ViewVC)‎ | r86581 >
Date:00:06, 21 April 2011
Author:nimishg
Status:ok
Tags:
Comment:
added wgCookiePrefix to exported variables
Modified paths:

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

  • 08:32, 21 April 2011 Catrope (Talk | contribs) changed the status of r86580 [removed: new added: ok]
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Support
Download
Development
Communication
Toolbox