r60987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60986‎ | r60987 | r60988 >
Date:21:10, 12 January 2010
Author:ialex
Status:deferred
Tags:
Comment:
* Now using $wgExtensionAssetsPath for the path to Configure.js/.css
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.php (modified) (history)
  • /trunk/extensions/Configure/specials/ConfigurationPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/CHANGELOG
@@ -1,6 +1,9 @@
22 This file lists changes on this extension.
33 Localisation updates are done on betawiki and aren't listed here.
44
 5+0.15.3 - 12 January 2010
 6+ Now using $wgExtensionAssetsPath for the path to Configure.js/.css.
 7+
58 0.15.2 - 5 January 2010
69 scripts/writePHP.php now uses NS_FILE and NS_FILE_TALK rather than NS_IMAGE
710 and NS_IMAGE_TALK
Index: trunk/extensions/Configure/specials/ConfigurationPage.php
@@ -896,12 +896,12 @@
897897 * Inject JavaScripts and Stylesheets in page output
898898 */
899899 protected function injectScriptsAndStyles() {
900 - global $wgOut, $wgScriptPath, $wgConfigureStyleVersion, $wgConfigureAddJsVariables;
 900+ global $wgOut, $wgExtensionAssetsPath, $wgConfigureStyleVersion, $wgConfigureAddJsVariables;
901901
902902 $wgConfigureAddJsVariables = true; // tell efConfigureMakeGlobalVariablesScript() to add JS variables
903903
904 - $wgOut->addExtensionStyle( "{$wgScriptPath}/extensions/Configure/Configure.css?{$wgConfigureStyleVersion}" );
905 - $wgOut->addScriptFile( "{$wgScriptPath}/extensions/Configure/Configure.js?{$wgConfigureStyleVersion}" );
 904+ $wgOut->addExtensionStyle( "{$wgExtensionAssetsPath}/Configure/Configure.css?{$wgConfigureStyleVersion}" );
 905+ $wgOut->addScriptFile( "{$wgExtensionAssetsPath}/Configure/Configure.js?{$wgConfigureStyleVersion}" );
906906 }
907907
908908 /**
Index: trunk/extensions/Configure/Configure.php
@@ -18,7 +18,7 @@
1919 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure',
2020 'description' => 'Allow authorised users to configure the wiki via a web-based interface',
2121 'descriptionmsg' => 'configure-desc',
22 - 'version' => '0.15.2',
 22+ 'version' => '0.15.3',
2323 );
2424
2525 # Configuration part

Status & tagging log