[MediaWiki-l] Upgrade to jQuery 3 is coming

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[MediaWiki-l] Upgrade to jQuery 3 is coming

Hey all,

TL;DR: In MediaWiki 1.30, the jQuery library will be upgraded from 1.x to
(with jQuery Migrate enabled by default).
Read about this release and the API changes:

== Upgrade guide ==

An overview of the important changes is available at:
This page also contains advice on how to migrate your code. In most cases
it involves fairly
simple changes, such as using a different method name, or adding quotes in

The vast majority of the added requirements and removed methods are
restored through
the jQuery Migrate plugin with a deprecation warning in the console. As
such, it's unlikely
your code will require any immediate changes.

If you do find a deprecation warning in the console, you can use the
warning documentation
to find out more: https://github.com/jquery/jquery-migrate/blob/

In MediaWiki 1.30, it will be easy to find uses of deprecated methods with
the deprecation
warnings. However, you don't need to wait for MediaWiki 1.30 to start
migrating. The
methods removed in jQuery 3 have been deprecated for a while already, and
replacements are already available in jQuery 1.x, today.

== Timeline ==

* April 2017: jQuery 3 lands in MediaWiki core master with jQuery Migrate
* April to July 2017: Testing and fixing of issues detected during
* July 2017: jQuery 3 enabled in Wikimedia's Beta Cluster. [1]
* August 2017: jQuery 3 enabled on Wikimedia wikis in production.

jQuery 3 will also be released as part of MediaWiki 1.30.0 (expected in
November 2017). [2]

As part of MediaWiki 1.30, inclusion of jQuery Migrate will made
configurable so that sites
that have already migrated may disable the plugin for better run-time

Track progress at <https://phabricator.wikimedia.org/T124742>.

-- Krinkle

[1] https://www.mediawiki.org/wiki/Beta_Cluster
[2] https://www.mediawiki.org/wiki/MediaWiki_1.30
MediaWiki-l mailing list
To unsubscribe, go to: