Last modified: 2014-04-07 18:16:29 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 T64157, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62157 - Rollback gives MediaWiki:Alreadyrolled-message, when final diff between revisions is none.
Rollback gives MediaWiki:Alreadyrolled-message, when final diff between revis...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.23.0
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-03 19:08 UTC by Knud Winckelmann
Modified: 2014-04-07 18:16 UTC (History)
4 users (show)

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


Attachments

Description Knud Winckelmann 2014-03-03 19:08:01 UTC
Issue found on Dawiki - https://da.wikipedia.org/wiki/Speciel:Version

Recently, I've experienced that I get the MediaWiki:Alreadyrolled-message, when I'm using rollback on edits that, in the end, has no diff.

To clarify: User A adds some content in edit 1, some more content in edit 2 and then removes it all in edit 3.

Thus there is no difference between the article before and after the edits.

I find that I can't just perform a rollback, with the added benefit of marking the edits patrolled, anymore.

This seems to be a regression, as that has been possible before.

I've created a little testpage on https://da.wikipedia.org/wiki/Bruger:Knud_Winckelmann/rollbacktest, illustrating the above mentioned scenario.

Regards

Knud Winckelmann
Comment 1 Knud Winckelmann 2014-03-03 19:19:13 UTC
Aha, this seems to be caused by this commit: https://gerrit.wikimedia.org/r/#/c/102550/ .

This is a bit unfortunate, patrolling-wise.

Regards

Knud
Comment 2 Umherirrender 2014-03-03 21:18:12 UTC
As the author of that change, I support WONTFIX.

On de.wp there was the same situation, but not with patrolling. We have the FlaggedRevs installed and in the situation the already rolled revision was marked as "automatically reviewed", which was anonying, because a IP user cannot review his revision. After a look at the code, I found that the 'complete' hook on rollback was fired and FlaggedRevs was storing the review. In my opinion it was the best to avoid fire of the hook to fix the problem at the rought cause, because a null edit rollback is not a succesfully rollback and no extension and core should do anything than, that includes review on FlaggedRevs and patrolling or marking as bot edit in core.
Comment 3 Kåre Thor Olsen 2014-03-04 17:18:03 UTC
It sounds more like dewiki had the opposite problem.  If I understand you correctly, dewiki *don't* want rolledback edits to automatically be marked as reviewed, while we (dawiki) *do* want rolledback edits to automatically be marked as patrolled.

The kind of edits described by Knud Winckelmann, are not marked as patrolled after the user removes them.  Before the commit, we as patrollers had for years been able to simply hit "rollback" to make all edits by a user automatically be marked as patrolled.  After the commit, the patrollers have to load every such edits individually and mark them as patrolled.

I consider this a regression, and ask you to please revert the commit the sooner the better, replacing it with something which supports both patrolling and FlaggedRevs.
Comment 4 Umherirrender 2014-03-04 19:32:14 UTC
It is possible to fix FlaggedRevs to not do that (doing a manual review and log that), but in my opinion it is not the right way, to mark edits as bot or patrol when the rollback is not from the user, which want do that action.
Comment 5 Kåre Thor Olsen 2014-03-05 20:40:37 UTC
Again, this is a regression concerning the patrolling feature, giving patrollers more work and zero benefit.  I have no idea what is proper or not for FlaggedRevs, and I don't know what bots have to do with any of this (unless it is somehow related to FlaggedRevs).

Please revert the commit as soon as possible, then figure out how to fix the FlaggedRevs problem without affecting other features.
Comment 6 Umherirrender 2014-03-05 20:48:07 UTC
User with the 'markbotedits' user right are able to mark edits as bot while rollback, than these edits are not shown on the default view of the Recent Changes. In my opinion it is bad, when the rollback of another user gets marked as bot (if requested by the second rollbacker).
Comment 7 Umherirrender 2014-03-06 20:31:34 UTC
I reverted Gerrit change #109706 with Gerrit change #117307 to restore the previous behaviour.
This kept the already rolled message on null rollbacks, but should set the patrolling flags on recent changes (also bot flags, if requested).
Comment 8 Umherirrender 2014-03-07 23:01:47 UTC
revert was successfully merged

Should be available with 1.23wmf18, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule
Comment 9 Kåre Thor Olsen 2014-03-11 17:33:51 UTC
Thanks, Umherirrender.

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


Navigation
Links