Page MenuHomePhabricator

"thanked" no longer available when surfing "InPrivate"/"Incognito mode", when using another browser/PC or after clearing the cache in the browser
Open, Needs TriagePublicBUG REPORT

Description

Steps to Reproduce:
see: https://commons.wikimedia.org/wiki/Commons:Village_pump#%22bereits_bedankt%22_nicht_mehr_verf%C3%BCgbar,_wenn_man_%22InPrivate%22/%22Inkognitomodus%22_surft,_mit_einem_anderen_Browser/PC_unterwegs_ist_bzw._nach_dem_L%C3%B6schen_des_im_Browser_Cache

Actual Results:
"thanked" is no longer available when surfing "InPrivate"/"Incognito mode" (new session), when browsing with another browser/PC or after deleting the data stored in the browser cache

Expected Results:
It would be great if "thanked" was permanent.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 24 2020, 10:21 AM
Aklapper changed the task status from Open to Stalled.Oct 24 2020, 12:39 PM

@Molgreen: I don't understand what the exact problem or steps to reproduce are. Are you logged in when using InPrivate/Incognito or not? Please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and provide a clear and complete list of specific steps to reproduce - thanks a lot! :)

Molgreen added a comment.EditedOct 24 2020, 3:34 PM

@Aklapper: thanks for your feedback
I will try to describe the problem in detail:

  • I assume that "thank" is noted locally (browser cache) and not in the database.
  • In any case I am logged in.
  • I log in and "thank":
  • a1: log off and do not close the browser
  • a2: I log in again and see "thanked" (OK)
  • b1: log off and close the browser (Clear the browser cache!)
  • b2: log in again and can "thank" again (not OK)
  • c: use a different browser and can "thank" in any case (not OK)

This is a valid issue, but I think it has always worked this way, so I wouldn't say "no longer". :)

When displaying either a "thank" link or a "thanked" message, the Thanks extension only checks a list of your recently sent thanks, which is stored in a cookie "commonswikithanks-thanked" (and similar for other wikis). This disappears if you log in from incognito mode, in another browser, or clear your cookies.

There is a secondary check to prevent duplicate notifications after you click that link, so you can't actually send thanks twice for the same revision or action, even if it looks like it works.

I don't know why it was done this way, but I am guessing that the secondary check is too slow to run it 50 times (or even 500 times), for every revision, when displaying a long history page.

matmarex changed the task status from Stalled to Open.Oct 24 2020, 7:34 PM
matmarex added a project: Thanks.
Restricted Application added a project: Growth-Team. · View Herald TranscriptOct 24 2020, 7:34 PM

@matmarex: Thanks for the hopeful feedback. (I use the function "thank" often and mostly in incognito mode. That's why I noticed it).