r65333 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65332‎ | r65333 | r65334 >
Date:17:15, 20 April 2010
Author:dale
Status:deferred
Tags:
Comment:
* wikibits moved up in include order to avoid clearing the mw variable
Modified paths:
  • /trunk/extensions/JS2Support/ScriptLoaderOutputPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/JS2Support/ScriptLoaderOutputPage.php
@@ -5,7 +5,9 @@
66 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
77 */
88
9 -
 9+/**
 10+ * ScriptLoaderOutputPage extends OutputPage with script-loader calls
 11+ */
1012 class ScriptLoaderOutputPage extends OutputPage {
1113 // Flag javascript Classes loaded
1214 var $mLoadedJavascriptClasses = false;
@@ -272,7 +274,7 @@
273275 $wgJSAutoloadClasses, $wgScriptPath;
274276
275277 // Set core Classes ( note wikibits will be phased out )
276 - $coreClasses = array( 'window.jQuery', 'mwEmbed', 'wikibits' );
 278+ $coreClasses = array( 'wikibits', 'window.jQuery', 'mwEmbed' );
277279
278280 // Merge in any scripts that have been set as "core"
279281 if( isset( $this->mScriptLoaderClassList[ 'js' ][ 'core' ] ) ) {

Status & tagging log