Page MenuHomePhabricator

Update to jQuery 2.x
Closed, DuplicatePublic

Description

Since df1019c4 JavaScript on IE8 is disabled. jQuery can updated from jQuery 1.x to jQuery 2.x. (https://jquery.com/browser-support/)

Event Timeline

Fomafix raised the priority of this task from to Needs Triage.
Fomafix updated the task description. (Show Details)
Fomafix subscribed.

Change 262892 had a related patch set uploaded (by Gerrit Patch Uploader):
Update jQuery from v1.11.3 to v2.1.4

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

qunit tests are pretty broken by this

12:59:58 Chromium 47.0.2526 (Ubuntu 0.0.0): Executed 160 of 305 (129 FAILED) ERROR (4.147 secs / -24202860 mins 5.799 secs)
13:02:28 Chromium 47.0.2526 (Ubuntu 0.0.0): Executed 217 of 750 (129 FAILED) ERROR (5.627 secs / -24202863 mins 37.351 secs)

Pretty sure that we have a bunch of code still supporting IE 8 (which doesn't work now), and which might be getting confused by the change. I wouldn't be surprised if jquery.placeholder was falling over, for example.

Change 262892 abandoned by Krinkle:
Update jQuery from v1.11.3 to v2.1.4

Reason:
Closing for now. jQuery 3.0 will be out soon at which point we can set out an adequate migration plan. Including deprecation warnings, and a roadmap for possible other browsers we'll have to drop first.

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