Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | $wgOut->setRobotPolicy( 'noindex,nofollow' ); |
88 | 88 | $wgOut->setSyndicated( true ); |
89 | 89 | $wgOut->setFeedAppendQuery( 'action=history' ); |
90 | | - $wgOut->addModules( array( 'mediawiki.legacy.history', 'mediawiki.views.history' ) ); |
| 90 | + $wgOut->addModules( array( 'mediawiki.legacy.history', 'mediawiki.action.history' ) ); |
91 | 91 | |
92 | 92 | // Creation of a subtitle link pointing to [[Special:Log]] |
93 | 93 | $logPage = SpecialPage::getTitleFor( 'Log' ); |
Index: trunk/phase3/resources/mediawiki.action/mediawiki.action.history.js |
— | — | @@ -0,0 +1,7 @@ |
| 2 | +/* |
| 3 | + * JavaScript for History action |
| 4 | + */ |
| 5 | + |
| 6 | +// Replaces histrowinit |
| 7 | +$( '#pagehistory li input[name=diff], #pagehistory li input[name=oldid]' ).click( diffcheck ); |
| 8 | +diffcheck(); |
\ No newline at end of file |
Property changes on: trunk/phase3/resources/mediawiki.action/mediawiki.action.history.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 9 | + native |
Index: trunk/phase3/resources/Resources.php |
— | — | @@ -344,8 +344,8 @@ |
345 | 345 | 'mediawiki.specials.search' => new ResourceLoaderFileModule( array( |
346 | 346 | 'scripts' => 'resources/mediawiki.specials/mediawiki.specials.search.js', |
347 | 347 | ) ), |
348 | | - 'mediawiki.views.history' => new ResourceLoaderFileModule( array( |
349 | | - 'scripts' => 'resources/mediawiki.views/mediawiki.views.history.js', |
| 348 | + 'mediawiki.action.history' => new ResourceLoaderFileModule( array( |
| 349 | + 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js', |
350 | 350 | 'dependencies' => 'mediawiki.legacy.history', |
351 | 351 | ) ), |
352 | 352 | 'mediawiki.language' => new ResourceLoaderFileModule( array( |