Last modified: 2013-09-15 06:18:25 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 T30476, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28476 - Rejecting a page move does not undo the change made to the title.
Rejecting a page move does not undo the change made to the title.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 4433 28488
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-09 22:56 UTC by Thor Malmjursson
Modified: 2013-09-15 06:18 UTC (History)
7 users (show)

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


Attachments

Description Thor Malmjursson 2011-04-09 22:56:04 UTC
Whilst rejecting a page title move on en.wikinews, it appears that the rejection of the change failed to undo the actual change itself.  From speaking to other editors, it appears that a page move makes a log action, and also a null edit so something appears in the history of the page. 

The rejection of the page title move appears to have only undone the null edit, and had precisely zero effect on the actual edit I was intending to reject.  This is clearly a bug.

Would someone please be able to look into this and try and make some sense of what the heck is going on, since rejecting a pending change to an article should undo whatever that change was, or the function is perfectly useless.
Comment 1 Aaron Schulz 2011-04-09 23:11:46 UTC
Same basic problem as bug 4433.
Comment 2 Bawolff (Brian Wolff) 2011-04-09 23:16:12 UTC
Further confusing behaviour. When BarkingFish "rejected" the page move, this caused the dummy edit that gets inserted on a page move to actually become sighted (The opposite of expected behaviour). ( https://secure.wikimedia.org/wikinews/en/w/index.php?title=Special:Log&page=38_killed_in_attack_on_Afghan_bank&hide_patrol_log=1&hide_review_log=0 )

My theory for what happened is:
*Diego moved the page, inserting a dummy edit into the page history as normal. Dummy edit is not sighted as normal
*BarkingFish came along and rejected that change.
*Rejecting (From my understanding anyways, could be mistaken) involves making an edit that restores the previous version, and sighting that edit. Since the previous version is exactly the same as the current version (since it's just a dummy edit), MediaWiki considered this new edit as a null edit, and didn't insert it into the db. However it still tried to flag this revert, but instead ended up flagging diego's original move.

End result, it appears as if BarkingFish sighted the very thing he tried to reject, which seems rather wrong.
Comment 3 Aaron Schulz 2011-04-10 05:43:36 UTC
(In reply to comment #1)
> Same basic problem as bug 4433.

"Undo" (which reject is based off) has this nuisance too in addition to "rollback". It's hard to work with dummy revisions like this programmatically, even if we had a "null edit" flag.
Comment 4 Aaron Schulz 2011-05-23 17:56:19 UTC
(In reply to comment #2)
> End result, it appears as if BarkingFish sighted the very thing he tried to
> reject, which seems rather wrong.

Dealt with in r88660. Null rollback/undo autoreview was being fired due to the text of the current and attempted revision being the same.
Comment 5 Aaron Schulz 2011-05-29 23:24:46 UTC
r85743 is also related.
Comment 6 Aaron Schulz 2011-05-30 05:55:47 UTC
The confusing aspects of this should be fixed (not live though). The main aspect is the ability to reject non-text change aspects. Changing to "enhancement".

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


Navigation
Links