Index: trunk/extensions/JS2Support/ScriptLoaderOutputPage.php |
— | — | @@ -5,7 +5,9 @@ |
6 | 6 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
7 | 7 | */ |
8 | 8 | |
9 | | - |
| 9 | +/** |
| 10 | + * ScriptLoaderOutputPage extends OutputPage with script-loader calls |
| 11 | + */ |
10 | 12 | class ScriptLoaderOutputPage extends OutputPage { |
11 | 13 | // Flag javascript Classes loaded |
12 | 14 | var $mLoadedJavascriptClasses = false; |
— | — | @@ -272,7 +274,7 @@ |
273 | 275 | $wgJSAutoloadClasses, $wgScriptPath; |
274 | 276 | |
275 | 277 | // Set core Classes ( note wikibits will be phased out ) |
276 | | - $coreClasses = array( 'window.jQuery', 'mwEmbed', 'wikibits' ); |
| 278 | + $coreClasses = array( 'wikibits', 'window.jQuery', 'mwEmbed' ); |
277 | 279 | |
278 | 280 | // Merge in any scripts that have been set as "core" |
279 | 281 | if( isset( $this->mScriptLoaderClassList[ 'js' ][ 'core' ] ) ) { |