I remember it was mentioned that jQuery is going to be bundled with MediaWiki soon (1.16?).
I wonder what would be the best approach for extensions that use jQuery and package it up within itself to use global jQuery and do that in backwards compatible way (e.g. to make sure that prior versions of MediaWiki don't get broken).
Is there a good How-To for developers to rewrite their extensions?
Thank you,
Sergey
-- Sergey Chernyshev http://www.sergeychernyshev.com/
Just a little roadmap info: mwEmbed[1], contaning jQuery, will not be part of MediaWiki 1.16. It will be added in a later version. Tim Starling pulled it from trunk a few weeks ago and Michael Dale has continued working on it in a branch.
I expect it will be added again after the branching/tagging of 1.16, and be part of 1.17 after a thorough shake down during the 1.17 alpha period.
Siebrand
[1] http://www.mediawiki.org/wiki/MwEmbed
-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Sergey Chernyshev Sent: Sunday, January 03, 2010 9:42 PM To: Wikimedia developers Subject: [Wikitech-l] jQuery and extensions
I remember it was mentioned that jQuery is going to be bundled with MediaWiki soon (1.16?).
I wonder what would be the best approach for extensions that use jQuery and package it up within itself to use global jQuery and do that in backwards compatible way (e.g. to make sure that prior versions of MediaWiki don't get broken).
Is there a good How-To for developers to rewrite their extensions?
On 04.01.2010, 0:02 Siebrand wrote:
Just a little roadmap info: mwEmbed[1], contaning jQuery, will not be part of MediaWiki 1.16. It will be added in a later version. Tim Starling pulled it from trunk a few weeks ago and Michael Dale has continued working on it in a branch.
I expect it will be added again after the branching/tagging of 1.16, and be part of 1.17 after a thorough shake down during the 1.17 alpha period.
Siebrand
Nevertheless, there is js2/js2stopgap.js that looks like jQuery or a piece of it. It it safe to use it?
Max, as far as I know it was kept (see r59450 [1]) because it was already being used the Usability Initiative and LiquidThreads, that Wikimedia has in active deployment.
Looks like that piece is not going anywhere and there are good reasons to keep/consider it stable.
Siebrand
[1] http://www.mediawiki.org/w/index.php?title=Special%3ACode%2FMediaWiki%2Fpath...
-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Max Semenik Sent: Monday, January 04, 2010 8:06 AM To: Wikimedia developers Subject: Re: [Wikitech-l] jQuery and extensions
On 04.01.2010, 0:02 Siebrand wrote:
Just a little roadmap info: mwEmbed[1], contaning jQuery, will not be part of MediaWiki 1.16. It will be added in a later version. Tim Starling pulled it from trunk a few weeks ago and Michael Dale has continued working on it in a branch.
I expect it will be added again after the branching/tagging of 1.16, and be part of 1.17 after a thorough shake down during the 1.17 alpha period.
Siebrand
Nevertheless, there is js2/js2stopgap.js that looks like jQuery or a piece of it. It it safe to use it?
On Mon, Jan 4, 2010 at 8:06 AM, Max Semenik maxsem.wiki@gmail.com wrote:
On 04.01.2010, 0:02 Siebrand wrote:
Just a little roadmap info: mwEmbed[1], contaning jQuery, will not be part of MediaWiki 1.16. It will be added in a later version. Tim Starling pulled it from trunk a few weeks ago and Michael Dale has continued working on it in a branch.
I expect it will be added again after the branching/tagging of 1.16, and be part of 1.17 after a thorough shake down during the 1.17 alpha period.
Siebrand
Nevertheless, there is js2/js2stopgap.js that looks like jQuery or a piece of it. It it safe to use it?
Can't we just add jQuery to 1.16 even though no core scripts use it yet? Is there a reason not to? Would it need a security review before it is included?
Bryan
wikitech-l@lists.wikimedia.org