aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* ResourceLoader: Update jQuery from v3.6.1 to v3.7.1Timo Tijhof2023-08-292-1057/+864
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cross-browser: Improve selector engine to accomodate recent changes in Safari and the cross-browser differences that introduces around `:has()`. Note that the built-in `querySelectorAll()` sometimes throws exceptions, which jQuery avoids from affecting your code. * Cross-browser: Ensure that `$el.css('--some-variable')` when the value is an empty string, returns undefined. Including in current versions of Firefox and last years versions of Chrome, which behave non-standardly. https://github.com/jquery/jquery/pull/5120 * Cross-browser: Avoid crash in Safari 16 when using `<template>` elements, due to change in document.adoptNode() behaviour. * Optimise size of various methods by removing code for obsolete browser versions. Primarily, removal/inlining of Sizzle engine, and removal of old code for Firefox versions that behaved differently around SVG or XML elements. About 4KB smaller in decoded size for JS parsing. About 2KB smaller in transfer size. * Optimise runtime of first `$()` call by removing obsolete support. * Optimise manipulation methods like `append()`. * Optimise focus events by using native events when possible/reliable. Highlights from https://blog.jquery.com/2022/12/13/jquery-3-6-2-released/ https://blog.jquery.com/2022/12/20/jquery-3-6-3-released-a-quick-selector-fix/ https://blog.jquery.com/2023/03/08/jquery-3-6-4-released-selector-forgiveness https://blog.jquery.com/2023/05/11/jquery-3-7-0-released-staying-in-order/ https://blog.jquery.com/2023/08/28/jquery-3-7-1-released-reliable-table-row-dimensions/ Change-Id: I144069ce80127692b5c0ff91c4e55383f4013e2f
* Update Codex from v0.16.1 to v0.17.0Anne Tomasevich2023-08-1611-1913/+1982
| | | | | | | | | | Bug: T335087 Bug: T337808 Bug: T339962 Bug: T342295 Bug: T343490 Bug: T344178 Change-Id: I8a63d25da31198551a92be548ea161b481ad7ce2
* Update Codex from v0.15.0 to v0.16.1Roan Kattouw2023-08-0116-1692/+1773
| | | | | | | | | | | | | Bug: T324375 Bug: T329321 Bug: T337444 Bug: T339013 Bug: T339963 Bug: T342392 Bug: T342394 Bug: T342396 Bug: T342560 Change-Id: Ia6d559d7e5ad089f4702e648aa29061e2772e982
* Merge "Update OOUI from 0.47.4 to 0.47.5"jenkins-bot2023-07-1919-37/+93
|\
| * Update OOUI from 0.47.4 to 0.47.5Eric Gardner2023-07-1919-37/+93
| | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.47.5/History.md Depends-On: Ia581f44ca0f147b318ce59b7271e4106d930ac3f Change-Id: Ia6819baf32b93bbe67245709d4d9e5ef1358b22c
* | Update Codex from v0.14.0 to v0.15.0Eric Gardner2023-07-1813-1028/+1163
|/ | | | | | | | | Bug: T324223 Bug: T326665 Bug: T337095 Bug: T340797 Bug: T342031 Change-Id: I3f99e087d2aa55a0e9805e4d01a986a4c12ae4af
* Update OOUI to v0.47.4Anne Tomasevich2023-07-1018-37/+41
| | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.47.4/History.md Bug: T341336 Depends-On: Ic8f8baf7575b34e3ec2b458af78460d725a7f7da Change-Id: I1b667c68c7d70e5d71a45e49890a1abef1b4f227
* Merge "Update OOUI to v0.47.3"jenkins-bot2023-07-0657-143/+431
|\
| * Update OOUI to v0.47.3Roan Kattouw2023-07-0657-143/+431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.47.3/History.md Bug: T149654 Bug: T216780 Bug: T326557 Bug: T337515 Bug: T338145 Bug: T338165 Bug: T338344 Bug: T338832 Bug: T339839 Depends-On: If9f7607eb676070938409a60d156a2ae292c3c56 Change-Id: Ia845a593cef68e4456d50c6ef213bf9255507eef
* | Update Codex from v0.13.0 to v0.14.0Roan Kattouw2023-07-0518-521/+525
|/ | | | | | | | | | | | Bug: T309903 Bug: T326665 Bug: T338344 Bug: T339141 Bug: T339839 Bug: T340072 Bug: T340261 Bug: T340570 Change-Id: Idd664a0a114701286e48a5cd262286e4e31f8766
* Update Codex from v0.12.0 to v0.13.0Anne Tomasevich2023-06-2016-1865/+2379
| | | | | | | | | | | | Bug: T284273 Bug: T309239 Bug: T309246 Bug: T331044 Bug: T333392 Bug: T337878 Bug: T337975 Bug: T338616 Change-Id: I80ff8fe18d65ccd98e58c0529136774f23f60de4
* foreign-resources: Correct Codex version number to 0.12.0Roan Kattouw2023-06-061-4/+4
| | | | | | | | In e346a4e8ca09d19588f8c9c2214f5cc7cea61e72 Codex was updated from v0.11.0 to v0.12.0, but the version numbers in foreign-resources.yaml were not changed. Change-Id: I7872f25a8a68dbdbb1c8bffed78aba7f92e3b648
* Update Codex from v0.11.0 to v0.12.0Eric Gardner2023-06-0617-1747/+1916
| | | | | | | | | | | | | | | | | | | | | Bug: T284273 Bug: T325105 Bug: T326665 Bug: T330803 Bug: T331034 Bug: T331040 Bug: T331042 Bug: T332124 Bug: T333394 Bug: T333437 Bug: T335694 Bug: T337279 Bug: T337282 Bug: T337429 Bug: T337442 Bug: T338144 Bug: T338177 Change-Id: I1144275b7199f7388620f16886c9208d2f9d09de
* Manual backport of OOUI change I63293edd62 (tab dialog fix)Bartosz Dziewoński2023-05-253-1/+5
| | | | | Bug: T337515 Change-Id: I560dc4df2ad0fe505ebcc3afb099786c757b145f
* Update Codex from v0.10.0 to v0.11.0Volker E2023-05-2320-778/+870
| | | | | | | | | | | | | | | | | | | Bug: T295711 Bug: T311026 Bug: T314661 Bug: T322436 Bug: T323179 Bug: T325105 Bug: T325769 Bug: T325788 Bug: T328492 Bug: T331034 Bug: T333030 Bug: T333392 Bug: T335694 Bug: T336533 Bug: T336954 Change-Id: I9db6eff7acf10b549fa968cea350efc115d78096
* Update OOUI to v0.47.0Volker E2023-05-18160-271/+965
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.47.0/History.md Bug: T53229 Bug: T285252 Bug: T285252 Bug: T309916 Bug: T313804 Bug: T314661 Bug: T324449 Bug: T326706 Bug: T328492 Bug: T328492 Bug: T328492 Bug: T328492 Bug: T328741 Bug: T329383 Bug: T330424 Bug: T331403 Bug: T333155 Bug: T334492 Bug: T335082 Bug: T335082 Bug: T335214 Depends-On: Ic1c9bf8948e63956119c3bd4befe7f6436f82095 Change-Id: I57a8ccc9b7e6b9a6b68a43085e3c7b5201c516a4
* Merge "Update Codex from v0.9.1 to v0.10.0"jenkins-bot2023-05-1118-673/+707
|\
| * Update Codex from v0.9.1 to v0.10.0Anne Tomasevich2023-05-1118-673/+707
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T295711 Bug: T322436 Bug: T325105 Bug: T325788 Bug: T331039 Bug: T333437 Bug: T334887 Bug: T335088 Bug: T335323 Bug: T335430 Bug: T335959 Bug: T336208 Bug: T336249 Bug: T336267 Change-Id: I107e477c8575e29f20f6c0c465413a0c735f7c17
* | ResourceLoader: Upgrade OOjs from 6.0.0 to 7.0.1Timo Tijhof2023-05-113-217/+145
|/ | | | | | | | | | | https://gerrit.wikimedia.org/g/oojs/core/+/v7.0.1/History.md * [BREAKING CHANGE] Remove support for ES5 browsers such as IE11 (Timo Tijhof) * Factory: Add support to register and create objects from ES6 classes (Timo Tijhof) T284935 * Factory: Add support to register by Class.key (Timo Tijhof) T96640 * core: Make OO.unique() faster by using ES6 Set methods (Bartosz Dziewoński) Change-Id: I2697531e2963d784a2cb9390a65cc9e959b55a05
* ResourceLoader: Support 'authors' in foreign-resources.yaml for SpecialVersionJames D. Forrester2023-05-101-3/+30
| | | | | | | … and set it for each of the current libraries in foreign-resources.yaml. Bug: T335867 Change-Id: I1c41764a4fb6afd84a69746d4e45dc22c24a4abf
* ResourceLoader: Update Mustache.js from 3.0.1 to 4.2.0Timo Tijhof2023-05-082-83/+171
| | | | | | | | | | | | | | | Switch to official distribution, as the Git source is now ESM. https://github.com/janl/mustache.js/ https://github.com/janl/mustache.js/blob/v4.2.0/CHANGELOG.md Notable changes, which don't impact us: * Remove `mustache.to_html()`, deprecated since 0.4.x * Change in contract for overrides of `mustache.Writer#parse`, and `mustache.Writer#cache` (renamed, and different interface) Change-Id: I10f010ffa3e0b6476947f9a95f0f3396bd7513cb
* Follow-up 675e25eb: resources: Fully-delete WVUI filesJames D. Forrester2023-05-036-339/+0
| | | | Change-Id: I5eabf30329a78186fb4ea9b5b7e61334babc9437
* foreign-resources.yaml: Add doc-only typeGergő Tisza2023-05-031-22/+35
| | | | | | | | | | | Add a noop entry type for documenting upstream libraries which we use in some non-standard way (patched, with a build step etc). Use it to document jquery.ui (heavily patched). Also fix alphabetic ordering of the entries. Bug: T335690 Change-Id: Ieb75f23dfd103ebec8bdf7911d8bb6a0c77bb95d
* Remove WVUI from MediaWiki coreDiesel kapasule2023-04-276-6846/+0
| | | | | Bug: T310244 Change-Id: Ic403f1e1ea384ff05716ae0037a73d0f4fd1ea38
* Merge "ForeignResourceManager: Add transform step"jenkins-bot2023-04-261-0/+22
|\
| * ForeignResourceManager: Add transform stepGergő Tisza2023-04-261-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a transformation step to foreign-resources.yaml that allows for simple modifications after the files are fetched and hashed. This is experimental and mainly meant as a short-term solution for T335326. In the long term, we might decide to handle the issue of libraries with ES2017 syntax differently, and this functionality might be removed. Use at your own risk. Currently the only supported modification is adding a 'nomin' filter to the beginning of the file, which is useful for files which are already minified or which the MediaWiki minifier can't deal with for some reason. In the future, this could be used e.g. to apply patches. Change-Id: I4d93bf6d04683cc4072e99f6ab02d0e618d85914
* | Merge "foreign-resources.yaml: Fully document 'dest' functionality"jenkins-bot2023-04-261-3/+6
|\|
| * foreign-resources.yaml: Fully document 'dest' functionalityGergő Tisza2023-04-261-3/+6
| | | | | | | | Change-Id: Ibcfa72f8af5a93f6d4b3f2af4200e0a4c17b9a66
* | Update Codex from v0.9.0 to v0.9.1Volker E2023-04-2514-1178/+2527
|/ | | | | | | | | | | | | Bug: T322428 Bug: T324449 Bug: T325105 Bug: T329383 Bug: T331039 Bug: T334222 Bug: T334434 Bug: T334497 Bug: T335087 Change-Id: I19ba94ea857d662526d649b66145383424273515
* Merge "Merge "jquery.cookie" into "mediawiki.cookie""jenkins-bot2023-04-254-173/+0
|\
| * Merge "jquery.cookie" into "mediawiki.cookie"Kunal Mehta2023-04-234-173/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The jquery.cookie and mediawiki.cookie scripts are both quite small. Both separately and combined, they don't really make sense to register as their own top-level bundle. As a first step we combine the two. jquery.cookie has been forked since 22c0986019 (Nov. 2020), it is now explicitly moved into src/. The new eslint errors are temporarily ignored and will be fixed in a follow-up. Bug: T271995 Change-Id: I8cab36357535b3994e65f9ee81779479a72805d7
* | Add Pinia to MediaWiki coreSimone Cuomo2023-04-205-0/+2191
|/ | | | | | | | | | - [x] Add Pinia library and license to core - [x] Add Pinia to the resource loader - [x] Add Pinia to the foreign-resource.yaml - [x] Add Pinia to release notes Bug: T326174 Change-Id: I7848d9836b7ade639bfa7269fc3bd9e99c1f9e44
* Update Codex from v0.8.0 to v0.9.0Eric Gardner2023-04-1115-922/+894
| | | | | | | | | | | | Bug: T312987 Bug: T324708 Bug: T325105 Bug: T331032 Bug: T331033 Bug: T333463 Bug: T333713 Bug: T334129 Change-Id: Iacce46bdd52ee24364308e09f9a766e26f3cc4ce
* es6-polyfills: Remove scripts, replace with deprecated stubTimo Tijhof2023-03-313-335/+0
| | | | | Bug: T178356 Change-Id: I98da2ffebe770d40e168bc8e307ca55616ba1228
* Merge "Revert typo fixes to ForeignResourceManager managed files"jenkins-bot2023-03-292-2/+2
|\
| * Revert typo fixes to ForeignResourceManager managed filesTim Starling2023-03-292-2/+2
| | | | | | | | | | | | | | | | | | These changes need to be done upstream, otherwise ForeignResourceStructureTest fails. Bug: T203694 Follows-Up: I5c9408c262f09c936525f35abfacfa92a193b791 Change-Id: Ieec933ac99e8eb27eb95f2a71ef66afe79195398
* | Merge "Update Codex version for Special:Version"jenkins-bot2023-03-291-4/+4
|\ \
| * | Update Codex version for Special:VersionEric Gardner2023-03-281-4/+4
| | | | | | | | | | | | | | | | | | Follows-up I0ed32fb5913a3b. Change-Id: Ia428802206bac5199f1e9a30fbbf96f46e17f897
* | | Add missing file for Codex 0.7.0->0.8.0 updateRoan Kattouw2023-03-281-0/+5
| |/ |/| | | | | | | | | | | | | I forgot to "git add" this file. Follow-up to I0ed32fb5913a3bc33245c8e884a64abb11afa5b8 Change-Id: I2ea3de08f4be6d1dd74e8bf58478338d12ea339a
* | Update Codex from v0.7.0 to v0.8.0Roan Kattouw2023-03-2817-808/+890
|/ | | | | | | | | | | | | | | | Also update the location of the codex-icon-paths.less alias file for a change made in Codex v0.8.0, and add newly added tokens to mediawiki.skin.defaults.less. Bug: T285592 Bug: T295165 Bug: T295711 Bug: T312987 Bug: T324708 Bug: T328602 Bug: T331403 Bug: T332167 Change-Id: I0ed32fb5913a3bc33245c8e884a64abb11afa5b8
* Merge "Remove unused module `jquery.hoverIntent`"jenkins-bot2023-03-282-119/+0
|\
| * Remove unused module `jquery.hoverIntent`DannyS7122023-03-172-119/+0
| | | | | | | | | | Bug: T311194 Change-Id: I24f8668149f7a91f9538fa5b8dbf02fbdabcc883
* | Update @wikimedia/codex-search module from v0.6.2 to v0.7.0Anne Tomasevich2023-03-237-411/+427
| | | | | | | | | | | | | | Other Codex modules were updated last week when v0.7.0 was cut, but the `codex-search` module was missed. Change-Id: I635cc3ecd4c3d5a99aa85d4b4b3f359129981735
* | Merge "Fix some typos"jenkins-bot2023-03-233-3/+3
|\ \ | |/ |/|
| * Fix some typosMatěj Suchánek2023-03-213-3/+3
| | | | | | | | | | Bug: T201491 Change-Id: I5c9408c262f09c936525f35abfacfa92a193b791
* | codex: Update newly added files to 0.7.0Roan Kattouw2023-03-163-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | If5c0cb9f1458ecbc22e1b16d2c400043958fe453 added several .less files to the list of files to download from Codex, but in parallel to that, I72f5b2f95db0fa266d355a47f6b568c24f916bb3 updated Codex from 0.6.2 to 0.7.0. This resulted in the 0.6.2 versions of these files being added even though we're already on 0.7.0. Redownload these files so that they're updated to the 0.7.0 versions. Change-Id: I55a30e6669d270427fbbf64b41f5b1aa1fc4121b
* | foreign-resources: Also fetch Less mixin files from CodexRoan Kattouw2023-03-164-0/+598
|/ | | | | | Bug: T328602 Depends-On: Ie9de28afc608db338f2fc910bfc5c3a4d9ae0f9a Change-Id: If5c0cb9f1458ecbc22e1b16d2c400043958fe453
* Update Codex from v0.6.2 to v0.7.0Volker E2023-03-159-869/+563
| | | | | | | | | | | | | | | | | | Bug: T295711 Bug: T303384 Bug: T312987 Bug: T321470 Bug: T324708 Bug: T328602 Bug: T330665 Bug: T330694 Bug: T330711 Bug: T331457 Bug: T331790 Co-authored-by: Volker E. <volker.e@wikimedia.org> Depends-On: I793a4cbe51729e93e070434d40a6031fb183f9e6 Change-Id: I72f5b2f95db0fa266d355a47f6b568c24f916bb3
* ResourceLoader: Check for valid SPDX license in ForeignResourceManagerReedy2023-03-011-2/+2
| | | | | Bug: T330428 Change-Id: Iddccef5d3c6a1baf89a6c626671323b6eed49c42
* foreign-resources: Correct license for codex-design-tokensRoan Kattouw2023-02-281-1/+1
| | | | | | | It's GPL, not MIT. All of the Codex packages are GPL except for the icons package, which is MIT. Change-Id: Ib62c03147db62015c2d7cb44dc955bf1e0cb7d82