Last modified: 2014-11-18 18:07:17 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 T26154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24154 - Cannot rollback to revisions with hidden username/IP
Cannot rollback to revisions with hidden username/IP
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Low normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-28 10:12 UTC by Daniel Tar
Modified: 2014-11-18 18:07 UTC (History)
4 users (show)

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


Attachments

Description Daniel Tar 2010-06-28 10:12:26 UTC
If I try to rollback to a version with hidden username/IP, I get the following permission error (even if I am an admin):

 You do not have permission to do that, for the following reason:
 The last revision by a different user has been deleted

You can see an affected page history here[1].

To reproduce the error, do the following:
1) Find a page :)
2) Edit the page logged out 
3) Log in, and edit the page now
4) Hide the IP of the logged out edit
5) Try to rollback the logged in edit

The error may occour if you edit with an other account instead of logged out. I haven't tried it.

--
[1] http://hu.wikipedia.org/w/index.php?title=Szerkeszt%C5%91:Dani/eu&action=history
Comment 1 Roan Kattouw 2010-06-28 16:18:23 UTC
Permissions error probably has to do with either considering the revision to be deleted even if the text isn't deleted or with not being allowed to grab the username to put in the revert message.
Comment 2 Krinkle 2010-06-28 16:29:39 UTC
If the diff-text has been deleted, revertion/undoing shouldn't be allowed. but if the IP/date has been hidden it sounds logical to be able to revert to that. Perhaps use the same wfMgs text as when the IP-address is hidden ([[MediaWiki:Revertpage]], [[MediaWiki:Block-log-flags-hiddenname]] )

Reverted edits by Foobar to latest revision by <s>(username hidden)</s>
Comment 3 db [inactive,noenotif] 2012-10-25 18:01:10 UTC
fixed since r55764, where a new message revertpage-nouser was added.

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


Navigation
Links