Page MenuHomePhabricator

$.cookie / mw.util.getParamValue undefined in MediaWiki:Common.js
Closed, ResolvedPublic



I get the following Javascript error on

Uncaught TypeError: Object function (selector,context){return new jQuery.fn.init(selector,context,rootjQuery);} has no method 'cookie'

Seems like jQuery's cookie plugin isn't initialized properly. NOTE: This seems only apparent when enabling the MenuTabsToggle gadget (which uses cookies). (It does work in the Commons test wiki.) — Edokter (talk) — 14:19, 13 January 2012 (UTC)

More script errors (pointing to legacyWikibits) on enwiki:

Uncaught TypeError: Cannot call method 'getParamValue' of undefined
Uncaught TypeError: Cannot call method 'wikiUrlencode' of undefined

— Edokter (talk) — 14:44, 13 January 2012 (UTC)

Version: 1.20.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:00 AM
bzimport set Reference to bz33712.
bzimport added a subscriber: Unknown Object (MLST).

bumping to "high" since this code is slated for deployment soon

Same as bug 33711.

  • This bug has been marked as a duplicate of bug 33711 ***