Changes

1,877 bytes added ,  00:08, 6 October 2019
m
no edit summary
<table class="collapsible collapsed" style="background: #fff; float:right; clear:right; margin:0 0 0.5em 0.5em" width="400px">
<tr>
<th><big>MediaWiki and JavaScript</big></th>
</tr>
<tr>
<td>
[[JavaScript]]

<strong>Delivery</strong>
: [[ResourceLoader]]: delivery system for optimized loading and managing of modules
:: [[ResourceLoader/Core modules |Core modules]], including [[jQuery]] and [[OOjs]]
: [[API:Client code#JavaScript|API client code]]

<strong>Adding JS on-wiki</strong>
: [[Manual:Interface/JavaScript|Interface]] (user-specific, [[Manual:User group CSS and JavaScript|group-specific]] and site-wide)
: [[ContentHandler |ContentHandler facility]] for supporting js as page content
: [[:Category:Snippets with JavaScript |Snippets]]
: [[Manual:$wgRawHtml|Allowing raw html]]
: <strong>Extensions that allow you to add js</strong>
:: [[Extension:Gadgets]], [[Extension:Widgets]] <!-- + raw html extensions: [[Extension:NamespaceHTML]], Extension:HTMLets, Extension:HTML Tags -->

<strong>Extensions, skins and other modules</strong>
: [[Manual:$wgResourceModules|ResourceLoader modules]]
:: [[ResourceLoader/Developing with ResourceLoader |Developing with ResourceLoader]]
:: <small>{{ll|Manual:$wgResourceModules|$wgResourceModules}}, [[Manual:Hooks/BeforePageDisplay|BeforePageDisplay hook]]</small>
: [[OOUI/Using OOUI in MediaWiki |OOUI]]
: {{ll|Manual:Ajax|Ajax}} and [[:Category:Ajax extensions|Ajax extensions]]

<strong>Further guidance</strong>
: [[:Category:JavaScript|Category for all things JavaScript]]
: [[Learning JavaScript]]
: [[Manual:CORS |CORS]]
: [[Help:Locating broken scripts |Broken scripts]]
: Core development: [[Manual:Coding conventions/JavaScript |coding conventions]] and [[Manual:JavaScript unit testing|unit testing]]
: [https://doc.wikimedia.org/mediawiki-core/master/js/ Techinical docs @doc.wikimedia.org]
</td>
</tr>
</table>
Anonymous user