Last modified: 2010-10-31 21:18:05 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 T26043, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24043 - Change edit review checkbox to "accept this page *with* my edits"
Change edit review checkbox to "accept this page *with* my edits"
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Aaron Schulz
http://en.wikipedia.org
:
Depends on:
Blocks: 25295
  Show dependency treegraph
 
Reported: 2010-06-19 15:50 UTC by Matthew P. Del Buono
Modified: 2010-10-31 21:18 UTC (History)
4 users (show)

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


Attachments

Description Matthew P. Del Buono 2010-06-19 15:50:19 UTC
For reference on the use case, see http://en.wikipedia.org/w/index.php?title=Special:Log&page=The+Dark+Knight+(film)&hide_review_log=0

Imagine three editors, Anna, Belle, and Charlie. Anna is non-autoconfirmed while Belle and Charlie are reviewers.

- Anna makes an edit to a page configured for pending changes.
- Belle and Charlie both go to review the edit.
- Belle finishes first, using the "undo" feature, causing the page to be reverted and automatically accepted.
- Charlie performs an edit on the page to restore the article to the original version (effectively the same as a revert), and chooses the "review pending changes" to accept his own change.
- The software recognizes that Charlie's edit was identical to Belle's so it auto-resolves the conflict by not creating an edit.

When this happens, Anna's change gets marked as reviewed by Charlie. What was supposed to have happened was Charlie's change would be reviewed by Charlie, but his edit doesn't exist (it is instead replaced by the automatically accepted change by Belle). 

I think a more appropriate action in this situation would be to have no review done (silently would be OK I think) because the review was already done on the correct revision (just automatically).

Naturally, the outcome is still the same in that the page is reverted and the newest revision is accepted, but the history gets a little strange by saying an edit was accepted and then reverted. (It doesn't say that anymore in the example I gave above because I went back and revoked the acceptance.) Preferably this could be avoided, but it's a very minor issue.
Comment 1 Aaron Schulz 2010-06-19 16:39:05 UTC
What edit is "accepted and then reverted"?
Comment 2 Matthew P. Del Buono 2010-06-19 17:50:22 UTC
It really boils down to these three actions:

(del/undel) 08:23, 19 June 2010 Gilo1969 (talk | contribs | block) reviewed a revision of The Dark Knight (film) ‎ ((automatic)) (changes reviewed) (revision: 15:23, 19 June 2010)

(del/undel) 08:23, 19 June 2010 Shirik (talk | contribs | block) reviewed a revision of The Dark Knight (film) ‎ (revision: 15:18, 19 June 2010)

(del/undel) 08:27, 19 June 2010 Shirik (talk | contribs | block) deprecated a revision of The Dark Knight (film) ‎ (Bug, this edit was not accepted, the one after it was. Will file.) (revision: 15:18, 19 June 2010)


Gilo1969 reverted back to an old version, causing an automatic accept. I undid the changes at the same time, but instead by editing the page back to the way it was and checking the "accept pending changes" button (to auto-review my change). This was an automatically resolved edit conflict because Gilo1969's change and my change were identical, but the "accept pending changes" caused the IP edit to be reviewed, despite the fact that I meant for my edit (which became Gilo's edit) to be reviewed, not the IP edit.
Comment 3 Matthew P. Del Buono 2010-06-19 17:51:29 UTC
(What I mean is that, until I deprecated the revision, it had shown that the IP edit was accepted, followed by a revert that was automatically accepted. That no longer shows because I deprecated the revision.)
Comment 4 Aaron Schulz 2010-07-12 06:03:53 UTC
"accept pending changes" is meant to be used for accepting the changes that were pending when you start editing. In that case, there is nothing wrong.

The confusion probably comes from the recent "...along with your own edit" wording on the title of the checkbox.
Comment 5 Aaron Schulz 2010-07-12 20:48:40 UTC
(In reply to comment #4)
> "accept pending changes" is meant to be used for accepting the changes that
> were pending when you start editing. In that case, there is nothing wrong.
> 
> The confusion probably comes from the recent "...along with your own edit"
> wording on the title of the checkbox.

Likewise with the button changing.
Comment 6 Rob Lanphier (RobLa) 2010-07-12 20:56:11 UTC
I need to review the wording of the checkbox, and read through this a little more closely.  Assigning to myself to figure this out.
Comment 7 Aaron Schulz 2010-09-24 18:04:17 UTC
Fixing summary.
Comment 8 Aaron Schulz 2010-10-13 02:02:27 UTC
Do we actually want to make this semantic change or not? The *coding* isn't too difficult (for me).
Comment 9 Rob Lanphier 2010-10-19 17:23:42 UTC
Several of us discussed this one at length.  Since we agreed that it is indeed surprising to see possibly bad edits marked as "accepted" in the history, we agreed that the correct behavior here is to only mark the very latest version as accepted.

Assigning to Aaron to make this change, per our conversation.
Comment 10 Aaron Schulz 2010-10-31 21:18:05 UTC
Done in r75747.

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


Navigation
Links