r84586 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84585‎ | r84586 | r84587 >
Date:23:34, 22 March 2011
Author:aaron
Status:ok
Tags:
Comment:
* broke long lines
* added ending newlines
Modified paths:
  • /trunk/extensions/FlaggedRevs/modules/flaggedrevs.css (modified) (history)
  • /trunk/extensions/FlaggedRevs/modules/flaggedrevs.js (modified) (history)
  • /trunk/extensions/FlaggedRevs/modules/review.js (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/modules/flaggedrevs.css
@@ -365,4 +365,4 @@
366366 margin-top: 1em;
367367 padding: 5px;
368368 border: 1px solid #aaa;
369 -}
\ No newline at end of file
 369+}
Index: trunk/extensions/FlaggedRevs/modules/flaggedrevs.js
@@ -216,7 +216,9 @@
217217 action: 'parse',
218218 prop: 'text|categorieshtml|languageshtml|headitems'
219219 };
220 - if ( mw.config.get( 'wgCurRevisionId' ) == oldRevId && mw.config.exists( 'wgPageName' ) ) {
 220+ if ( mw.config.get( 'wgCurRevisionId' ) == oldRevId
 221+ && mw.config.exists( 'wgPageName' ) )
 222+ {
221223 queryParams.page = mw.config.get( 'wgPageName' );
222224 } else {
223225 queryParams.oldid = oldRevId;
@@ -242,7 +244,8 @@
243245 $frRevContents.empty().append( revContent.error + ' ' + origContents );
244246 }
245247 if ( languageshtml && languageshtml['*'] ) {
246 - $frRevContents.append( '<div class="langlinks" >' + languageshtml['*'] + '</div>' );
 248+ $frRevContents.append( '<div class="langlinks" >' +
 249+ languageshtml['*'] + '</div>' );
247250 }
248251 if ( categoryhtml && categoryhtml['*'] ) {
249252 $('#catlinks').replaceWith( $(categoryhtml['*']) );
@@ -268,4 +271,4 @@
269272 // Perform some onload (which is when this script is included) events:
270273 FlaggedRevs.enableShowhide();
271274 FlaggedRevs.setCheckTrigger();
272 -FlaggedRevs.getRevisionContents();
\ No newline at end of file
 275+FlaggedRevs.getRevisionContents();
Index: trunk/extensions/FlaggedRevs/modules/review.js
@@ -318,4 +318,4 @@
319319 // Perform some onload (which is when this script is included) events:
320320 FlaggedRevsReview.maybeDisableAcceptButton();
321321 FlaggedRevsReview.updateRatingFormColors();
322 -FlaggedRevsReview.enableAjaxReview();
\ No newline at end of file
 322+FlaggedRevsReview.enableAjaxReview();

Status & tagging log