Page MenuHomePhabricator

Missing dependencies for mediawiki.cookie causes javascript errors on en.wiki
Closed, ResolvedPublic

Description

See https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Collapsing_not_working

En.wiki is getting ".get() is not defined" type of errors in certain circumstances (so not always), suggesting that something that uses mw.cookie has not set its dependency correctly. As several parts have recently switched from jQuery.cookie to mediawiki.cookie, the culprit is like in one of these switch-overs. Please check.

Event Timeline

Edokter created this task.May 30 2015, 10:58 AM
Edokter raised the priority of this task from to High.
Edokter updated the task description. (Show Details)
Edokter added a project: MediaWiki-General.
Edokter added a subscriber: Edokter.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 30 2015, 10:58 AM

That change was actually reverted in https://gerrit.wikimedia.org/r/#/c/214278/. Bad cache maybe?

Very possible. But these deploy/cahcing issues seem to become a weekly occurence.

TheDJ added a comment.May 30 2015, 1:54 PM

People effected by this should try to clear their browser cache. Descriptions for multiple browsers on how to do so is available here: https://en.wikipedia.org/wiki/Wikipedia:BYPASS

Edokter added a comment.EditedMay 30 2015, 2:28 PM

That did not clear the problem for me, so caching issue is server-side.

(edit) Correction: removing the offending cookies solved it.

Two weeks later: Can this problem still be seen?

Three weeks later: Can this problem still be seen?

TheDJ closed this task as Resolved.Jun 24 2015, 9:45 PM
TheDJ claimed this task.

Calling it closed, it haven't seen further reports over the past 2 weeks.