Updated mediawiki/extensions Project: mediawiki/extensions/Thanks…


Updated mediawiki/extensions Project: mediawiki/extensions/Thanks 094758573de8e591c6c0f0c43ac236d5f75de11f

Use log_search to track already sent thanks

We currently use client-side storage to keep track of what revisions and
posts have already been thanked for. This is problematic because client-
side storage is not permanent, making it easy to send duplicate thanks
if you have logged out and in, or switched computers.

This starts storing new thanks in the log_search table, which is
designed for efficient querying of metadata associated with a specific
log entry. With this, we can easily check to see if a user has already
sent thanks for a specific revision.

The UX is a bit weird right now, we only check log_search when actually
sending thanks again, in which case the user thinks they have sent
thanks again, but no duplicate thanks is actually sent.

Bug: T88820
Bug: T53303
Change-Id: Iaf8cbe0776081dc69e82883d8727ba1cfe20e3e1

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT382ae4ac64cc: Updated mediawiki/extensions Project: mediawiki/extensions/Thanks… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Jun 18 2015, 6:11 PM