r93987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93986‎ | r93987 | r93988 >
Date:17:23, 5 August 2011
Author:demon
Status:ok
Tags:
Comment:
MFT r93986
Modified paths:
  • /branches/REL1_18/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/phase3/includes/Title.php
@@ -3283,9 +3283,6 @@
32843284 $oldid = $this->getArticleID();
32853285 $latest = $this->getLatestRevID();
32863286
3287 - $oldns = $this->getNamespace();
3288 - $olddbk = $this->getDBkey();
3289 -
32903287 $dbw = wfGetDB( DB_MASTER );
32913288
32923289 if ( $moveOverRedirect ) {
@@ -3370,17 +3367,6 @@
33713368 __METHOD__ );
33723369 $redirectSuppressed = false;
33733370 } else {
3374 - // Get rid of old new page entries in Special:NewPages and RC.
3375 - // Needs to be before $this->resetArticleID( 0 ).
3376 - $dbw->delete( 'recentchanges', array(
3377 - 'rc_timestamp' => $dbw->timestamp( $this->getEarliestRevTime() ),
3378 - 'rc_namespace' => $oldns,
3379 - 'rc_title' => $olddbk,
3380 - 'rc_new' => 1
3381 - ),
3382 - __METHOD__
3383 - );
3384 -
33853371 $this->resetArticleID( 0 );
33863372 $redirectSuppressed = true;
33873373 }
Property changes on: branches/REL1_18/phase3/includes/Title.php
___________________________________________________________________
Modified: svn:mergeinfo
33883374 Merged /trunk/phase3/includes/Title.php:r93986

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93986Reverting r84309 (New pages log doesn't remove/update item after suppression ...demon17:03, 5 August 2011

Status & tagging log