Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -255,7 +255,7 @@ |
256 | 256 | $wgAvailableRights[] = 'stablesettings'; |
257 | 257 | |
258 | 258 | # Bump this number every time you change flaggedrevs.css/flaggedrevs.js |
259 | | -$wgFlaggedRevStyleVersion = 80; |
| 259 | +$wgFlaggedRevStyleVersion = 81; |
260 | 260 | |
261 | 261 | $wgExtensionFunctions[] = 'efLoadFlaggedRevs'; |
262 | 262 | |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -110,7 +110,6 @@ |
111 | 111 | $stableId = null; |
112 | 112 | } |
113 | 113 | $globalVars['wgStableRevisionId'] = $stableId; |
114 | | - $globalVars['wgLatestRevisionId'] = $fa->getLatest(); |
115 | 114 | $revisionContents = (object) array( |
116 | 115 | 'error' => wfMsgHtml( 'revcontents-error' ), |
117 | 116 | 'waiting' => wfMsgHtml( 'revcontents-waiting' ) |
Index: trunk/extensions/FlaggedRevs/client/flaggedrevs.js |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | var origContents = contentsDiv.innerHTML; |
196 | 196 | contentsDiv.innerHTML = "<span class='loading mw-small-spinner spinner'></span><span class='loading' >" + wgRevContents.waiting + "</span>"; |
197 | 197 | var requestArgs = 'action=parse&prop=text&format=xml'; |
198 | | - if ( window.wgLatestRevisionId == oldRevId && window.wgPageName ) { |
| 198 | + if ( window.wgCurRevisionId == oldRevId && window.wgPageName ) { |
199 | 199 | requestArgs += '&page=' + encodeURIComponent( window.wgPageName ); |
200 | 200 | } else { |
201 | 201 | requestArgs += '&oldid=' + oldRevId; |