Index: trunk/phase3/includes/diff/DifferenceEngine.php |
— | — | @@ -172,15 +172,15 @@ |
173 | 173 | // Look for an unpatrolled change corresponding to this diff |
174 | 174 | $db = wfGetDB( DB_SLAVE ); |
175 | 175 | $change = RecentChange::newFromConds( |
176 | | - array( |
177 | | - // Add redundant user,timestamp condition so we can use the existing index |
178 | | - 'rc_user_text' => $this->mNewRev->getUserText( Revision::FOR_THIS_USER ), |
179 | | - 'rc_timestamp' => $db->timestamp( $this->mNewRev->getTimestamp() ), |
180 | | - 'rc_this_oldid' => $this->mNewid, |
181 | | - 'rc_last_oldid' => $this->mOldid, |
182 | | - 'rc_patrolled' => 0 |
183 | | - ), |
184 | | - __METHOD__ |
| 176 | + array( |
| 177 | + // Add redundant user,timestamp condition so we can use the existing index |
| 178 | + 'rc_user_text' => $this->mNewRev->getRawUserText(), |
| 179 | + 'rc_timestamp' => $db->timestamp( $this->mNewRev->getTimestamp() ), |
| 180 | + 'rc_this_oldid' => $this->mNewid, |
| 181 | + 'rc_last_oldid' => $this->mOldid, |
| 182 | + 'rc_patrolled' => 0 |
| 183 | + ), |
| 184 | + __METHOD__ |
185 | 185 | ); |
186 | 186 | if( $change instanceof RecentChange ) { |
187 | 187 | $rcid = $change->mAttribs['rc_id']; |