'group' => 'mediawiki.action.history',
'remoteBasePath' => $GLOBALS['wgStylePath'],
'localBasePath' => "{$GLOBALS['IP']}/skins",
- 'dependencies' => 'mediawiki.legacy.wikibits',
+ 'dependencies' => array( 'mediawiki.legacy.wikibits', 'jquery.ui.button' ),
),
'mediawiki.legacy.IEFixes' => array(
'scripts' => 'common/IEFixes.js',
// Replaces histrowinit
$( '#pagehistory li input[name="diff"], #pagehistory li input[name="oldid"]' ).click( diffcheck );
diffcheck();
- mediaWiki.loader.using('jquery.ui.button', function() {
- window.fixCompare();
- });
+ window.fixCompare();
});
\ No newline at end of file