wiki.techinc.nl/mw-config
Timo Tijhof add9bd191f resources: Strip '$' and 'mw' from file closures
Follows-up Id6d13bbea6:
- '$': mw.loader.implement does this already.
- 'mw': Use the canonical name directly.

This replaces the following patterns:

File closures (common):
- `( function ( $, mw ) {`     => `( function () {`
- `( function ( $ ) {`         => `( function () {`
- `( function ( mw ) {`        => `( function () {`
- `( function ( mw, $ ) {`     => `( function () {`

File closures (rare):
- `( function ( mw, $, OO ) {`    => `( function () {`
- `( function ( mw, OO, $ ) {`    => `( function () {`
- `( function ( mw, document ) {` => `( function () {`

Combined dom-ready and file closure (rare):
- `jQuery( function ( $ ) {` => `$( function () {
- `jQuery( function () {` => `$( function () {

Remaining references in files without a closure, as found by
the new ESLint setting (rare):
- `jQuery`    => `$`
- `mediaWiki` => `mw`

Change-Id: I7cf2426cde597259e8c6f3f6f615a1a81a0ca82b
2018-09-14 00:59:27 +01:00
..
images
overrides
config-cc.css build: Enable selector-list-comma-newline-after stylelint rule 2017-02-23 14:15:43 +00:00
config.css installer: Hide empty textbox if no extension tables were created 2018-04-12 00:24:47 -07:00
config.js resources: Strip '$' and 'mw' from file closures 2018-09-14 00:59:27 +01:00
index.php Don't use phpcs:ignoreFile to selectively ignore sniffs 2018-04-08 17:08:53 -07:00