Last modified: 2010-09-27 13:47:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19536, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17536 - Move + delete removes an article from Special:NewPages
Move + delete removes an article from Special:NewPages
Status: RESOLVED DUPLICATE of bug 17463
Product: MediaWiki
Classification: Unclassified
Recent changes (Other open bugs)
1.13.x
PC Linux
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-17 20:33 UTC by Dan Barrett
Modified: 2010-09-27 13:47 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Bug Fix (1.07 KB, patch)
2009-02-19 22:48 UTC, Mauro
Details

Description Dan Barrett 2009-02-17 20:33:26 UTC
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.
Comment 1 Mauro 2009-02-19 22:48:46 UTC
Created attachment 5834 [details]
Bug Fix

The patch update the Recentchanges table on moving action if the page is new.
Comment 2 Bryan Tong Minh 2009-11-12 22:41:06 UTC
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?
Comment 3 Leinad 2010-09-27 13:47:02 UTC

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links