Last modified: 2012-09-30 16:20:39 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 T37287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35287 - SpecialMovePage should not create log entries until the action is successfully completed
SpecialMovePage should not create log entries until the action is successfull...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: Future release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-17 21:28 UTC by NickK
Modified: 2012-09-30 16:20 UTC (History)
2 users (show)

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


Attachments

Description NickK 2012-03-17 21:28:28 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
Comment 2 Krinkle 2012-03-24 10:34:40 UTC
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.
Comment 3 Mark A. Hershberger 2012-09-30 16:20:39 UTC
pushing to future release since no one has had time to look for the past 6 months...

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


Navigation
Links