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 raised the priority of this task from to High.
Edokter updated the task description. (Show Details)
Edokter added a project: MediaWiki-General.
Edokter subscribed.

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

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

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 claimed this task.

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