aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.special.search.commonsInterwikiWidget.js
Commit message (Collapse)AuthorAgeFilesLines
* Replace mw.Uri with browser provided URL object in two placesEbrahim Byagowi2024-09-091-8/+10
| | | | | | | So mediawiki.Uri dependency of the modules can be dropped. Bug: T374314 Change-Id: Ic9d7f1654e31c2c25365a71fb79d87aeeda7ff11
* ESLint: Enforce prefer-arrow-callback and autofixEd Sanders2024-06-111-6/+4
| | | | Change-Id: Iddfa574e42e569ac5e2a2b098ad2f11ca80c5955
* commonsInterwikiWidget: Generate URLs with mw.TitleFomafix2022-07-131-2/+7
| | | | | | | This change ensures to use the right encoding for special characters and the localized namespace name in the URLs. Change-Id: Idf8fe1a468dae6978d73ddf6f3e776cb8cdae71b
* commonsInterwikiWidget: Simplify by using jQueryFomafix2022-07-131-33/+28
| | | | | | | The dependency on the module 'mediawiki.jqueryMsg' is not needed anymore. Change-Id: Ide7f38c613e785b0f25de5335d9f88f4c25f2624
* build: Update eslint-config-wikimedia to 0.10.0Ed Sanders2019-01-081-2/+2
| | | | Change-Id: I2930bcabeeb7b7b2eb36063e77b26e664a691b43
* 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
* resources: Give mediawiki.special.* files their own place in src/Timo Tijhof2018-05-111-0/+78
Bug: T193826 Change-Id: Id25cd18079f48308f6ab42207445bbbd74ed5fda