Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -364,7 +364,7 @@ |
365 | 365 | 'revreview-log-toggle-show', 'revreview-log-toggle-hide', |
366 | 366 | 'revreview-log-details-show', 'revreview-log-details-hide' |
367 | 367 | ), |
368 | | - 'dependencies' => array( 'jquery', 'mediawiki.legacy.wikibits' ), |
| 368 | + 'dependencies' => array( 'jquery', 'mediawiki.util' ), |
369 | 369 | 'localBasePath' => $dir, |
370 | 370 | 'remoteExtPath' => 'FlaggedRevs' |
371 | 371 | ); |
— | — | @@ -377,7 +377,7 @@ |
378 | 378 | 'revreview-submit-reviewed', 'revreview-submit-unreviewed', |
379 | 379 | 'revreview-submitting', 'actioncomplete', 'actionfailed' |
380 | 380 | ), |
381 | | - 'dependencies' => array( 'jquery' ), |
| 381 | + 'dependencies' => array( 'jquery', 'mediawiki.util' ), |
382 | 382 | 'localBasePath' => $dir, |
383 | 383 | 'remoteExtPath' => 'FlaggedRevs' |
384 | 384 | ); |
Index: trunk/extensions/FlaggedRevs/client/flaggedrevs.js |
— | — | @@ -174,7 +174,7 @@ |
175 | 175 | + ' [' + mediaWiki.msg('accesskey-save') + ']'; |
176 | 176 | } |
177 | 177 | } |
178 | | - window.updateTooltipAccessKeys( [ save ] ); // update accesskey in save.title |
| 178 | + mediaWiki.util.updateTooltipAccessKeys( [ save ] ); // update accesskey in save.title |
179 | 179 | } |
180 | 180 | }; |
181 | 181 | |
Index: trunk/extensions/FlaggedRevs/client/review.js |
— | — | @@ -295,9 +295,9 @@ |
296 | 296 | } |
297 | 297 | // (b) Output any error response message |
298 | 298 | if( response.indexOf('<err#>') == 0 ) { |
299 | | - jsMsg( msg, 'review' ); // failure notice |
| 299 | + mediaWiki.util.jsMessage( msg, 'review' ); // failure notice |
300 | 300 | } else { |
301 | | - jsMsg( request.responseText, 'review' ); // fatal notice |
| 301 | + mediaWiki.util.jsMessage( response, 'review' ); // fatal notice |
302 | 302 | } |
303 | 303 | window.scroll(0,0); // scroll up to notice |
304 | 304 | } |