GeezerVison is showing static-codereview.wikimedia.org — r82247 MediaWiki - Code Review archive
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)
|
| 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; |
| | 41 | + $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath; |
| 42 | 42 | |
| 43 | 43 | // Pre-process information |
| 44 | 44 | $separatorTransTable = $wgContLang->separatorTransformTable(); |
| — | — | @@ -85,6 +85,7 @@ |
| 86 | 86 | // not find a way to add vars only for a certain module |
| 87 | 87 | 'wgFileCanRotate' => BitmapHandler::canRotate(), |
| 88 | 88 | 'wgAvailableSkins' => Skin::getSkinNames(), |
| | 89 | + 'wgExtensionAssetsPath' => $wgExtensionAssetsPath, |
| 89 | 90 | ); |
| 90 | 91 | if ( $wgContLang->hasVariants() ) { |
| 91 | 92 | $vars['wgUserVariant'] = $wgContLang->getPreferredVariant(); |
Follow-up revisions
| Revision | Commit summary | Author | Date |
|---|
| r82248 | 1.17wmf1: MFT r82219, r82247 | catrope | 14:30, 16 February 2011 |
| r89676 | 1.17: MFT r82247, r87203, r87265, r87494, r87497, r87711, r87840, r88076, r89615 | catrope | 19:09, 7 June 2011 |
Status & tagging log
- 19:09, 7 June 2011 Catrope (talk | contribs) changed the tags for r82247 [removed: 1.17]
- 18:50, 7 June 2011 Catrope (talk | contribs) changed the tags for r82247 [added: 1.17]
- 19:13, 29 March 2011 😂 (talk | contribs) changed the status of r82247 [removed: new added: ok]
|