r76915 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76914‎ | r76915 | r76916 >
Date:23:10, 17 November 2010
Author:pdhanda
Status:deferred
Tags:
Comment:
Merged r76876:76878 from trunk
Modified paths:
  • /branches/chad-pre-wmf-merge/extensions/FlaggedRevs (modified) (history)
  • /branches/chad-pre-wmf-merge/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)
  • /branches/chad-pre-wmf-merge/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /branches/chad-pre-wmf-merge/extensions/FlaggedRevs/client/flaggedrevs.js (modified) (history)
  • /branches/chad-pre-wmf-merge/extensions/FlaggedRevs/language (modified) (history)

Diff [purge]

Index: branches/chad-pre-wmf-merge/extensions/FlaggedRevs/FlaggedRevs.php
@@ -255,7 +255,7 @@
256256 $wgAvailableRights[] = 'stablesettings';
257257
258258 # Bump this number every time you change flaggedrevs.css/flaggedrevs.js
259 -$wgFlaggedRevStyleVersion = 80;
 259+$wgFlaggedRevStyleVersion = 81;
260260
261261 $wgExtensionFunctions[] = 'efLoadFlaggedRevs';
262262
Property changes on: branches/chad-pre-wmf-merge/extensions/FlaggedRevs/language
___________________________________________________________________
Modified: svn:mergeinfo
263263 Merged /trunk/extensions/FlaggedRevs/language:r76877-76878
Index: branches/chad-pre-wmf-merge/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -110,7 +110,6 @@
111111 $stableId = null;
112112 }
113113 $globalVars['wgStableRevisionId'] = $stableId;
114 - $globalVars['wgLatestRevisionId'] = $fa->getLatest();
115114 $revisionContents = (object) array(
116115 'error' => wfMsgHtml( 'revcontents-error' ),
117116 'waiting' => wfMsgHtml( 'revcontents-waiting' )
Index: branches/chad-pre-wmf-merge/extensions/FlaggedRevs/client/flaggedrevs.js
@@ -194,8 +194,8 @@
195195 var origContents = contentsDiv.innerHTML;
196196 contentsDiv.innerHTML = "<span class='loading mw-small-spinner spinner'></span><span class='loading' >" + wgRevContents.waiting + "</span>";
197197 var requestArgs = 'action=parse&prop=text&format=xml';
198 - if ( window.wgLatestRevisionId == oldRevId && window.wgPageName ) {
199 - requestArgs += '&page=' + window.wgPageName;
 198+ if ( window.wgCurRevisionId == oldRevId && window.wgPageName ) {
 199+ requestArgs += '&page=' + encodeURIComponent( window.wgPageName );
200200 } else {
201201 requestArgs += '&oldid=' + oldRevId;
202202 }
Property changes on: branches/chad-pre-wmf-merge/extensions/FlaggedRevs
___________________________________________________________________
Modified: svn:mergeinfo
203203 Merged /trunk/extensions/FlaggedRevs:r76877-76878

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76876* Reduced some pointless regex capture overhead...aaron09:12, 17 November 2010

Status & tagging log