Index: trunk/extensions/FlaggedRevs/modules/flaggedrevs.css |
— | — | @@ -365,4 +365,4 @@ |
366 | 366 | margin-top: 1em; |
367 | 367 | padding: 5px; |
368 | 368 | border: 1px solid #aaa; |
369 | | -} |
\ No newline at end of file |
| 369 | +} |
Index: trunk/extensions/FlaggedRevs/modules/flaggedrevs.js |
— | — | @@ -216,7 +216,9 @@ |
217 | 217 | action: 'parse', |
218 | 218 | prop: 'text|categorieshtml|languageshtml|headitems' |
219 | 219 | }; |
220 | | - if ( mw.config.get( 'wgCurRevisionId' ) == oldRevId && mw.config.exists( 'wgPageName' ) ) { |
| 220 | + if ( mw.config.get( 'wgCurRevisionId' ) == oldRevId |
| 221 | + && mw.config.exists( 'wgPageName' ) ) |
| 222 | + { |
221 | 223 | queryParams.page = mw.config.get( 'wgPageName' ); |
222 | 224 | } else { |
223 | 225 | queryParams.oldid = oldRevId; |
— | — | @@ -242,7 +244,8 @@ |
243 | 245 | $frRevContents.empty().append( revContent.error + ' ' + origContents ); |
244 | 246 | } |
245 | 247 | if ( languageshtml && languageshtml['*'] ) { |
246 | | - $frRevContents.append( '<div class="langlinks" >' + languageshtml['*'] + '</div>' ); |
| 248 | + $frRevContents.append( '<div class="langlinks" >' + |
| 249 | + languageshtml['*'] + '</div>' ); |
247 | 250 | } |
248 | 251 | if ( categoryhtml && categoryhtml['*'] ) { |
249 | 252 | $('#catlinks').replaceWith( $(categoryhtml['*']) ); |
— | — | @@ -268,4 +271,4 @@ |
269 | 272 | // Perform some onload (which is when this script is included) events: |
270 | 273 | FlaggedRevs.enableShowhide(); |
271 | 274 | 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 @@ |
319 | 319 | // Perform some onload (which is when this script is included) events: |
320 | 320 | FlaggedRevsReview.maybeDisableAcceptButton(); |
321 | 321 | FlaggedRevsReview.updateRatingFormColors(); |
322 | | -FlaggedRevsReview.enableAjaxReview(); |
\ No newline at end of file |
| 322 | +FlaggedRevsReview.enableAjaxReview(); |