Page MenuHomePhabricator

Move + delete removes an article from Special:NewPages
Closed, ResolvedPublic

Description

If you move a new page and delete the resulting redirect, the new title is absent from Special:NewPage.

To reproduce:

  1. Create an article A. It appears on Special:NewPages as expected.
  2. Move article A to a new title, B. Article A is now a redirect to B.
  3. Delete article A.
  4. Look at Special:NewPages. Article B does NOT appear, which is a surprise.

I believe article B should appear on Special:NewPages, because it is a new page.


Version: 1.13.x
Severity: minor
OS: Linux
Platform: PC

Details

Reference
bz17536

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:30 PM
bzimport set Reference to bz17536.
bzimport added a subscriber: Unknown Object (MLST).

cluster wrote:

Bug Fix

The patch update the Recentchanges table on moving action if the page is new.

Attached:

Bryan.TongMinh wrote:

The variable name for DB_SLAVE should be $dbr. However, since we are using the rc_id for updating, should $title->getArticleId not be called with GAID_FOR_UPDATE and should not just $dbw be used to obtain rc_id?

danny.leinad wrote:

*** This bug has been marked as a duplicate of bug 17463 ***