Last modified: 2012-09-30 16:20:39 UTC
The problem raised when I accidently clicked "Enter" twice while moving a page. This created two entries in rename log and page history, but did not cause any problems with the page itself. A few next attempts to repeat this behaviour gave the following results: * the article http://uk.wikipedia.org/w/index.php?title=%EF%BB%BF7771_%D0%A2%D0%B2%D0%B0%D1%80%D0%B5%D0%BD has 6 rename log entries and http://uk.wikipedia.org/w/index.php?title=7771_%D0%A2%D0%B2%D0%B0%D1%80%D0%B5%D0%BD&action=history 6 page history entries. * while renaming another article I received a strange error message : A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: UPDATE `page` SET page_namespace = '0',page_title = '7776_Takeishi' WHERE page_id = '1277500' Function: Title::moveToInternal Error: 1062 Duplicate entry '0-7776_Takeishi' for key 'name_title' (10.0.6.47) Obviously, this message is not for Wikipedia users but may be useful for bug tracking
I've had the same problem when I was moving a page that replaced/merged a page with a lot of revisions. The query was eventually aborted due to another bug. The log action was made but the page itself wasn't renamed yet. It also needs to account for race conditions between multiple users. The log action should only be made when the page was actually moved successfully.
pushing to future release since no one has had time to look for the past 6 months...