Last modified: 2010-09-27 13:47:02 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.
Created attachment 5834 [details] Bug Fix The patch update the Recentchanges table on moving action if the page is new.
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?
*** This bug has been marked as a duplicate of bug 17463 ***