JQuery/da

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page JQuery and the translation is 11% complete.
Other languages:
English • ‎dansk • ‎español • ‎français • ‎italiano • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語


jQuery is a JavaScript library designed to simplify cross-browser development. We have been shipping the jQuery JavaScript library with MediaWiki since the 1.16 release.

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 task T169385.

Note that the stack traces are available together with the console log in modern browsers, to help locating 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 default 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.

Se også

External links