Index: trunk/phase3/resources/mediawiki.action/mediawiki.action.history.js |
— | — | @@ -5,7 +5,5 @@ |
6 | 6 | // Replaces histrowinit |
7 | 7 | $( '#pagehistory li input[name="diff"], #pagehistory li input[name="oldid"]' ).click( diffcheck ); |
8 | 8 | diffcheck(); |
9 | | - mediaWiki.loader.using('jquery.ui.button', function() { |
10 | | - window.fixCompare(); |
11 | | - }); |
| 9 | + window.fixCompare(); |
12 | 10 | }); |
\ No newline at end of file |
Index: trunk/phase3/resources/Resources.php |
— | — | @@ -550,7 +550,7 @@ |
551 | 551 | 'group' => 'mediawiki.action.history', |
552 | 552 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
553 | 553 | 'localBasePath' => "{$GLOBALS['IP']}/skins", |
554 | | - 'dependencies' => 'mediawiki.legacy.wikibits', |
| 554 | + 'dependencies' => array( 'mediawiki.legacy.wikibits', 'jquery.ui.button' ), |
555 | 555 | ), |
556 | 556 | 'mediawiki.legacy.IEFixes' => array( |
557 | 557 | 'scripts' => 'common/IEFixes.js', |