*TL;DR:* ** We have upgraded the version of jQuery in MediaWiki from 1.8.x to 1.11.x.* ** For a few months, a hack will keep old users scripts, gadgets etc. working.* ** The hack will be removed around September when MediaWiki 1.24 is released.* ** Before it is removed, make sure your wiki reviews any scripts and gadgets.*
After a long time, we are finally upgrading the jQuery package that ships with MediaWiki, and so is used by many extensions, gadgets and site and user scripts. This upgrade fixes a lot of bugs, but also cleans up a lot of deprecated and dubious functionality from early versions of jQuery.
Code which uses the removed functionality is currently working due to a short- term hack, jQuery Migrate, that provides the removed functionality and outputs a warning to the console log whenever it is activated.
The jQuery Migrate hack will be removed in the (Northern Hemisphere's) Autumn of 2014. This means all extensions, gadgets, and user & site scripts on your wikis that still make use of jQuery legacy APIs will need to be upgraded before then or they will break.
== What can I do? ==
If you are a developer, please follow the instructions in the posts to wikitech-l about how to check and upgrade your wiki's gadgets, site and user scripts [0] [1]. If your wiki uses copies of other wikis' gadgets, please make sure that your wiki is using the latest version. There is also a tracking bug for all the extensions deployed on Wikimedia wikis which use the old code, which will be fixed before the support hack is switched off. [2]
If you are not a developer, you can check your browser's console log to see if there are any warnings tagged "JQMIGRATE". If you find any, please raise them in your community so you can work together to make sure they are addressed in time.
If you are a wikiambassador, please make sure your community is aware of this change and that any developers, gadget authors or script experts who write code for your wiki know that this is coming and are working to fix any issues. If your community is unable to fix any issues you have, please ask for help on this list so that we can assist you.
[0] http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076340.html [1] http://lists.wikimedia.org/pipermail/wikitech-l/2014-June/076842.html [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=65399
Yours,
James or someone,
Which internal version are we talking for this change? Is it with the version 1.24wmf7 that went out yesterday? Next week's version? Been there for weeks ...?
If we are going to alert our communities to be aware, knowing the internal version is quite helpful.
Regards, Billinghurst
On Tue, 3 Jun 2014 16:39:05 -0700, James Forrester jforrester@wikimedia.org wrote:
*TL;DR:* ** We have upgraded the version of jQuery in MediaWiki from 1.8.x to 1.11.x.* ** For a few months, a hack will keep old users scripts, gadgets etc. working.* ** The hack will be removed around September when MediaWiki 1.24 is released.* ** Before it is removed, make sure your wiki reviews any scripts and gadgets.*
After a long time, we are finally upgrading the jQuery package that
ships
with MediaWiki, and so is used by many extensions, gadgets and site and user scripts. This upgrade fixes a lot of bugs, but also cleans up a lot of deprecated and dubious functionality from early versions of jQuery.
Code which uses the removed functionality is currently working due to a short- term hack, jQuery Migrate, that provides the removed functionality and outputs a warning to the console log whenever it is activated.
The jQuery Migrate hack will be removed in the (Northern Hemisphere's) Autumn of 2014. This means all extensions, gadgets, and user & site scripts on
your
wikis that still make use of jQuery legacy APIs will need to be upgraded
before
then or they will break.
== What can I do? ==
If you are a developer, please follow the instructions in the posts to wikitech-l about how to check and upgrade your wiki's gadgets, site and user
scripts
[0] [1]. If your wiki uses copies of other wikis' gadgets, please make sure that your wiki is using the latest version. There is also a tracking bug for all the extensions deployed on Wikimedia wikis which use the old code, which will be fixed before the support hack is switched off. [2]
If you are not a developer, you can check your browser's console log to
see
if there are any warnings tagged "JQMIGRATE". If you find any, please raise them in your community so you can work together to make sure they are addressed
in
time.
If you are a wikiambassador, please make sure your community is aware of this change and that any developers, gadget authors or script experts who
write
code for your wiki know that this is coming and are working to fix any
issues.
If your community is unable to fix any issues you have, please ask for help on
this
list so that we can assist you.
[0] http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076340.html [1]
http://lists.wikimedia.org/pipermail/wikitech-l/2014-June/076842.html
[2] https://bugzilla.wikimedia.org/show_bug.cgi?id=65399
Yours,
On 3 June 2014 17:19, billinghurst billinghurst@gmail.com wrote:
James or someone,
Which internal version are we talking for this change? Is it with the version 1.24wmf7 that went out yesterday? Next week's version? Been there for weeks ...?
If we are going to alert our communities to be aware, knowing the internal version is quite helpful.
Hey, sorry for the lack of clarity
The first, very minor breaking change (switching to jQuery 1.11.x with jQuery Migrate) went out two weeks ago in 1.24wmf6, but should not have broken much if anything (as only a very few very-broken functions were not included in the Migrate hack).
The "real", more major breaking change (switching off jQuery Migrate) will, as I said, happen "around September when MediaWiki 1.24 is released ".
(There's another breaking change related to 1.24wmf8 for third party users, but that won't affect any Wikimedia wikis.)
Yours,
wikitech-ambassadors@lists.wikimedia.org