http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65333

Revision: 65333
Author:   dale
Date:     2010-04-20 17:15:12 +0000 (Tue, 20 Apr 2010)

Log Message:
-----------
* wikibits moved up in include order to avoid clearing the mw variable

Modified Paths:
--------------
    trunk/extensions/JS2Support/ScriptLoaderOutputPage.php

Modified: trunk/extensions/JS2Support/ScriptLoaderOutputPage.php
===================================================================
--- trunk/extensions/JS2Support/ScriptLoaderOutputPage.php      2010-04-20 
16:35:26 UTC (rev 65332)
+++ trunk/extensions/JS2Support/ScriptLoaderOutputPage.php      2010-04-20 
17:15:12 UTC (rev 65333)
@@ -5,7 +5,9 @@
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
2.0 or later
  */
 
-
+/**
+ * ScriptLoaderOutputPage extends OutputPage with script-loader calls 
+ */
 class ScriptLoaderOutputPage extends OutputPage {
        // Flag javascript Classes loaded
        var $mLoadedJavascriptClasses = false;
@@ -272,7 +274,7 @@
                $wgJSAutoloadClasses, $wgScriptPath;
 
                // Set core Classes ( note wikibits will be phased out )
-               $coreClasses = array( 'window.jQuery', 'mwEmbed', 'wikibits' );
+               $coreClasses = array( 'wikibits', 'window.jQuery', 'mwEmbed' );
 
                // Merge in any scripts that have been set as "core"
                if( isset( $this->mScriptLoaderClassList[ 'js' ][ 'core' ] ) ) {



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to