Page MenuHomePhabricator

Clicktracking breaks thanks button
Closed, ResolvedPublic

Description

Thank is broken on diff page: please fix ASAP as it is breaking the feature. When I click

Uncaught Error: Invalid schema "diff-thank". Possible values are: "Watchlist", "Diff", "MainMenu", "UI".

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Web-Team-Backlog.
Jdlrobson changed Security from none to None.
Jdlrobson subscribed.

I'm not able to reproduce this. I can't even find the phrase "diff-thank" in the codebase. Can you help me debug this please? THanks

@bmansurov I suspect it's in Thanks extension since that's what provides the thanks functionality...

@Jdlrobson The call is in Thanks. However, it's caused by rEMFR9bfa2dec337d: EventLogging: break up MobileWebClickTracking, which refactored the logging code, but didn't update this call.

Change 179409 had a related patch set uploaded (by Florianschmidtwelzow):
Match changed MobileWebClickingSchema

https://gerrit.wikimedia.org/r/179409

Patch-For-Review

Change 179409 merged by jenkins-bot:
Match changed MobileWebClickingSchema

https://gerrit.wikimedia.org/r/179409

Florian claimed this task.

Thanks Florian. I'll remember to update the Thanks extension in the future.

Maybe a good point to add a comment to our code like:

// Note: If you change something here, make sure, that you change it in other mobile related extensions, too (e.g. Thanks)!

???

Yeh any kind of clues like that would be a good idea. JDI :)

Still broken. It logs an event to diff-thank when it should actually be thank according to 10720373

Change 179521 had a related patch set uploaded (by Bmansurov):
Match changed MobileWebClickingSchema

https://gerrit.wikimedia.org/r/179521

Patch-For-Review

Change 179521 merged by jenkins-bot:
Match changed MobileWebClickingSchema

https://gerrit.wikimedia.org/r/179521

Now it is fixed (as far is i can see on betalabs).

Restricted Application added a subscriber: TerraCodes. · View Herald Transcript