r85745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85744‎ | r85745 | r85746 >
Date:06:25, 10 April 2011
Author:aaron
Status:ok
Tags:
Comment:
Follow-up r85743: use rawText function
Modified paths:
  • /trunk/extensions/FlaggedRevs/presentation/RevisionReviewFormGUI.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/presentation/RevisionReviewFormGUI.php
@@ -207,7 +207,7 @@
208208 if ( $this->refRev ) {
209209 $priorId = $this->refRev->getId();
210210 if ( $priorId == $this->article->getStable() && $priorId != $this->rev->getId() ) {
211 - if ( $this->rev->getText() != $this->refRev->getText() ) {
 211+ if ( $this->rev->getRawText() != $this->refRev->getRawText() ) {
212212 return $priorId; // left rev must be stable and right one newer
213213 }
214214 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85743* Don't show reject button if there are no text changes...aaron05:50, 10 April 2011

Status & tagging log