r82247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82246‎ | r82247 | r82248 >
Date:14:28, 16 February 2011
Author:catrope
Status:ok
Tags:
Comment:
Expose $wgExtensionAssetsPath in JS
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;
 41+ $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath;
4242
4343 // Pre-process information
4444 $separatorTransTable = $wgContLang->separatorTransformTable();
@@ -85,6 +85,7 @@
8686 // not find a way to add vars only for a certain module
8787 'wgFileCanRotate' => BitmapHandler::canRotate(),
8888 'wgAvailableSkins' => Skin::getSkinNames(),
 89+ 'wgExtensionAssetsPath' => $wgExtensionAssetsPath,
8990 );
9091 if ( $wgContLang->hasVariants() ) {
9192 $vars['wgUserVariant'] = $wgContLang->getPreferredVariant();

Follow-up revisions

RevisionCommit summaryAuthorDate
r822481.17wmf1: MFT r82219, r82247catrope14:30, 16 February 2011
r896761.17: MFT r82247, r87203, r87265, r87494, r87497, r87711, r87840, r88076, r89615catrope19:09, 7 June 2011

Status & tagging log