JQuery/zh

jQuery是一个用于简化跨浏览器开发的库. MediaWiki自版本1.16开始引入了jQuery.

jQuery迁移
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.

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
As of MediaWiki 1.17 all resources are (or should be) loaded through. The core modules are stored in. 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.

参见

 * jQuery snippets

外部链接

 * jQuery.com，jQuery的官方网站
 * IE7中的jQuery对话框错误. 运行时错误：非法参数 - The Dev Pages &mdash; 这是我们修改了jQuery的原因