Template:JavaScript

From MediaWiki.org
Jump to navigation Jump to search
Other languages:
English • ‎日本語
MediaWiki and JavaScript

JavaScript

Delivery

ResourceLoader : delivery system for optimized loading and managing of modules
Core modules, including jQuery and OOjs
API client code

Adding JS on-wiki

Interface (user-specific, group-specific and site-wide)
ContentHandler facility for supporting js as page content
Snippets
Extensions that allow you to add js
Extension:Gadgets, Extension:Widgets

Extensions, skins and other modules

ResourceLoader modules
Developing with ResourceLoader
$wgResourceModules , BeforePageDisplay hook
OOUI
Ajax and Ajax extensions

Further guidance

Category for all things JavaScript
Learning JavaScript
CORS
Broken scripts
Core development: coding conventions and unit testing
Technical docs on doc.wikimedia.org

This box: view · talk · edit