Last modified: 2010-12-04 22:46:57 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 T28238, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26238 - Problems with behaviour of Reject button with multiple pending changes
Problems with behaviour of Reject button with multiple pending changes
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Rob Lanphier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-04 21:43 UTC by Steef
Modified: 2010-12-04 22:46 UTC (History)
2 users (show)

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


Attachments

Description Steef 2010-12-04 21:43:56 UTC
In my understanding, the reject button should only be shown when viewing the diff between the latest and the last stable version and should reset the page to the stable version.

But when there are more than one pending changes like this:
* (unstable) Edit 2
* (unstable) Edit 1
* Stable Version
And one is viewing the diff between Stable and Edit 1, the Reject button is still shown. The summary says, that only Edit 1 will be revoked, but after undoing, the second edit is also undone, and the new version is unstable. The problem with this is, that to the user there is no hint, that they reject more revisions then viewing.

See http://de.labs.wikimedia.org/w/index.php?title=Testseite_f%C3%BCr_Bugreport&action=history for a testcase. The summary of the last edit says: "The first edit of Steef389 [...] was rejected."
Comment 1 Aaron Schulz 2010-12-04 22:17:16 UTC
I'm can't reproducing this on my test wiki.
Comment 2 Aaron Schulz 2010-12-04 22:29:28 UTC
(In reply to comment #1)
> I'm can't reproducing this on my test wiki.

OK, I can use /depl MW core. I think I know specifically what this might be...
Comment 3 Aaron Schulz 2010-12-04 22:46:57 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > I'm can't reproducing this on my test wiki.
> 
> OK, I can use /depl MW core. I think I know specifically what this might be...

I meant "on", not "use". Anyway, it was what I figured: an assanine $GET['oldid'] dependency in the getUndoText() function. This was fixed a while back in r72846, but was not pushed into production. I've just merged and synced it.

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


Navigation
Links