Jump to content

JQuery/en: Difference between revisions

From mediawiki.org
Content deleted Content added
FuzzyBot (talk | contribs)
Updating to match new version of source page
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 45: Line 45:
}}
}}
|jQuery 3.3.1
|jQuery 3.3.1
|Including jQuery Migrate v3.0.1
| Including jQuery Migrate v3.0.1
|- style="vertical-align: top"
|- style="vertical-align: top"
| {{plainlist|
| {{plainlist|

Revision as of 14:18, 22 March 2024

Warning: Display title "jQuery/en" overrides earlier display title "JQuery".


jQuery is a JavaScript library designed to simplify cross-browser development. MediaWiki has included jQuery since version 1.16.

Version

jQuery Migrate

The plugin jQuery Migrate helps developers to migrate from jQuery 1 to jQuery 3. The tracking task to remove these warnings and improve the underlying code is T169385.

Note that the stack traces are available together with the console log in modern browsers, to help to locate the origin of the deprecated function.

ResourceLoader

MediaWiki version:
1.17

As of MediaWiki 1.17 all resources are (or should be) loaded through ResourceLoader . The core modules are stored in /resources. There are no static minified versions anymore as ResourceLoader takes care of this when combining and optimizing all queued files. All code can assume that jQuery has already been loaded.

However, if your site skin was created prior to 1.17, ResourceLoader will not be loaded and jQuery will not be available.

See also