aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.htmlform/autocomplete.js
Commit message (Collapse)AuthorAgeFilesLines
* eslint: Autofix var to let/constEd Sanders2024-09-121-2/+2
| | | | | | | Temporarily disable no-var & prefer-const as resulting errors need to be fixed manually. Change-Id: I6cb62a2c70a4c1fc265a00b1f18af127ac9d5029
* ESLint: Enforce prefer-arrow-callback and autofixEd Sanders2024-06-111-5/+3
| | | | Change-Id: Iddfa574e42e569ac5e2a2b098ad2f11ca80c5955
* resources: Use colon-separator in content language for htmlformUmherirrender2024-03-161-20/+16
| | | | | | Using similiar approach as in 3b336276198b80597e4ad9de08d480701e061794 Change-Id: I7f80c28960eb95e71fc6a79a93386fbd261e3ad4
* resources: Strip '$' and 'mw' from file closuresTimo Tijhof2018-09-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix eslint warnings and switch to error codejdlrobson2018-08-141-1/+1
| | | | | | | | | | | | Follow up to I4552191f639b1022cb085ef5eb4abda835c2d91c * Add eslint-ignores to various files * Correct various uses of isFunction, trim, map, grep where easy fix is available * Switch from eslint warning to error Bug: T200877 Change-Id: I8420db21e548772332e51769aa8ec92d5958715f
* mediawiki.htmlform: Move files to their own module directoryTimo Tijhof2018-05-091-0/+25
* mediawiki.htmlform.styles: - mediawiki/htmlform/styles.css - mediawiki/htmlform/images/* Only contains two images, only used by this module. * mediawiki.htmlform.checker.js. * mediawiki.htmlform.ooui: Only Element.js. * mediawiki.htmlform.ooui.styles.less. * mediawiki.htmlform: Other files from mediawiki/htmlform. Bug: T193826 Change-Id: I5c057c758933e905d5c7940ade5bf43282088159