| Index: trunk/phase3/includes/diff/DifferenceEngine.php |
| — | — | @@ -584,7 +584,8 @@ |
| 585 | 585 | */ |
| 586 | 586 | function showDiffStyle() { |
| 587 | 587 | global $wgOut; |
| 588 | | - $wgOut->addModules( 'mediawiki.legacy.diff' ); |
| | 588 | + $wgOut->addModuleStyles( 'mediawiki.legacy.diff' ); |
| | 589 | + $wgOut->addModuleScripts( 'mediawiki.legacy.diff' ); |
| 589 | 590 | } |
| 590 | 591 | |
| 591 | 592 | /** |
| Index: trunk/phase3/resources/Resources.php |
| — | — | @@ -399,6 +399,7 @@ |
| 400 | 400 | 'mediawiki.action.history' => array( |
| 401 | 401 | 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js', |
| 402 | 402 | 'dependencies' => 'mediawiki.legacy.history', |
| | 403 | + 'group' => 'mediawiki.action.history', |
| 403 | 404 | ), |
| 404 | 405 | 'mediawiki.action.edit' => array( |
| 405 | 406 | 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js', |
| — | — | @@ -522,6 +523,7 @@ |
| 523 | 524 | 'mediawiki.legacy.diff' => array( |
| 524 | 525 | 'scripts' => 'common/diff.js', |
| 525 | 526 | 'styles' => 'common/diff.css', |
| | 527 | + 'group' => 'mediawiki.action.history', |
| 526 | 528 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
| 527 | 529 | 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 528 | 530 | 'dependencies' => 'mediawiki.legacy.wikibits', |
| — | — | @@ -534,6 +536,7 @@ |
| 535 | 537 | ), |
| 536 | 538 | 'mediawiki.legacy.history' => array( |
| 537 | 539 | 'scripts' => 'common/history.js', |
| | 540 | + 'group' => 'mediawiki.action.history', |
| 538 | 541 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
| 539 | 542 | 'localBasePath' => "{$GLOBALS['IP']}/skins", |
| 540 | 543 | 'dependencies' => 'mediawiki.legacy.wikibits', |