https://bugzilla.wikimedia.org/show_bug.cgi?id=46397
--- Comment #5 from Tim Starling <[email protected]> --- This is most likely due to Iea16d672 (thanks Robla for pointing me in this direction). Title::moveToInternal() moves the page and then calls $nt->resetArticleID($oldid) to reset the article ID. Then a new WikiPage is constructed with the title $nt, and updates are called on this WikiPage object. Before Iea16d672, $newpage->getId() would have returned the new ID due to it being stored in $nt->mArticleId, but after Iea16d672, $newpage->getId() calls $newpage->loadPageData(), which fetches the page_id from the *slave* database. Of course, it is not in the slave yet, since the update query and the select query are separated by microseconds. It is easy to reproduce locally with $wgAllDBsAreLocalhost = true, with zero master load. -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
