Last modified: 2014-01-26 23:31:02 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 T60209, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58209 - File revert counts as 'overwrite', not 'revert'
File revert counts as 'overwrite', not 'revert'
Status: NEW
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://commons.wikimedia.org/w/index...
:
: 30197 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-09 14:38 UTC by Rezonansowy
Modified: 2014-01-26 23:31 UTC (History)
2 users (show)

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


Attachments

Description Rezonansowy 2013-12-09 14:38:47 UTC
When someone revert file to older version, in edit history it appears as a new upload, not classic MediaWiki-style file revert.
Example: https://commons.wikimedia.org/w/index.php?title=File:Internet_Explorer_9_icon.svg&action=history
Comment 2 Marco 2013-12-09 17:09:07 UTC
I guess you want a notification to come up when a file is reverted?

https://www.mediawiki.org/wiki/Help:Notifications
Comment 3 Rezonansowy 2013-12-10 11:18:36 UTC
(In reply to comment #2)
> I guess you want a notification to come up when a file is reverted?
> 
> https://www.mediawiki.org/wiki/Help:Notifications

First of all, but this action just should follow with MediaWiki-revert method:
''Undid revision 123456789 by User (talk)''
not
''User uploaded a new version of File:xxx''

You see, it shouldn't appear as new upload, but a revert.
Comment 4 Marco 2014-01-26 23:19:30 UTC
I guess this bug is even more general? I did a quick test and the 'upload/revert'-actions do not show up (c.f. https://www.mediawiki.org/wiki/API:Logevents)

https://commons.wikimedia.org/w/api.php?action=query&list=logevents&format=json&leprop=title&leaction=upload%2Frevert&leuser=McZusatz&lelimit=10
Comment 5 Marco 2014-01-26 23:28:44 UTC
*** Bug 30197 has been marked as a duplicate of this bug. ***
Comment 6 Marco 2014-01-26 23:31:02 UTC
Merging comment 1 from bug 30197 (Unused Log upload/revert):
As current type is upload/overwrite used for file reverts. But $wgLogActions
has an entry for that, that should used when reverting a file, that is right.

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


Navigation
Links