Last modified: 2014-01-29 02:01: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 T59721, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57721 - Thanks: Don't show Thank-you buttons for diffs spanning multiple edits
Thanks: Don't show Thank-you buttons for diffs spanning multiple edits
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Thanks (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Jackmcbarn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-28 20:52 UTC by db [inactive,noenotif]
Modified: 2014-01-29 02:01 UTC (History)
6 users (show)

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


Attachments

Description db [inactive,noenotif] 2013-11-28 20:52:34 UTC
Thanks is a single revision action, so viewing a mulit diff with two or more edits between the left and the right side should not include a thanks link, because it will only thanks for the edit on the right side or add a better tooltip, but that maybe will not be read.

If you think, that this is not a issue, feel free to mark as INVALID
Comment 1 Nathan Larson 2013-12-31 13:00:44 UTC
Shouldn't it be possible to thank for a change that was made over several revisions?
Comment 2 db [inactive,noenotif] 2014-01-01 10:28:50 UTC
Is thanks for a revision or for the diff between two revisions? That is the question here, but when it is for a diff, what is with page creation, which does not have a diff?
Comment 3 Nathan Larson 2014-01-01 11:03:07 UTC
It's for a revision. You'll notice, if you get the diff for a two-revision change, and then thank the user, when he views the notification, it'll give an opportunity to "View edit". When he clicks to do so, it'll only show him the most recent of the revisions in the diff for which he was thanked. This is consistent with the fact that only one revid is stored in event.event_extra. https://www.mediawiki.org/wiki/Extension:Echo/echo_event_table#event_extra
Comment 4 Gerrit Notification Bot 2014-01-03 21:09:42 UTC
Change 105384 had a related patch set uploaded by Jackmcbarn:
Add oldRev parameter to DiffRevisionTools hook

https://gerrit.wikimedia.org/r/105384
Comment 5 Gerrit Notification Bot 2014-01-03 21:35:04 UTC
Change 105387 had a related patch set uploaded by Jackmcbarn:
Remove misleading Thank button from some diffs

https://gerrit.wikimedia.org/r/105387
Comment 6 Gerrit Notification Bot 2014-01-29 01:44:03 UTC
Change 105384 merged by jenkins-bot:
Add oldRev parameter to DiffRevisionTools hook

https://gerrit.wikimedia.org/r/105384
Comment 7 Gerrit Notification Bot 2014-01-29 02:00:40 UTC
Change 105387 merged by jenkins-bot:
Remove misleading Thank button from some diffs

https://gerrit.wikimedia.org/r/105387
Comment 8 Kunal Mehta (Legoktm) 2014-01-29 02:01:17 UTC
Thanks! ;)

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


Navigation
Links