Commit graph

722 commits

Author SHA1 Message Date
Translation updater bot ef392d9de9
Localisation updates from https://translatewiki.net.
Change-Id: I32d9c89509dc7ba608423063b35c38ef5168dc7a
2024-11-12 07:18:48 +01:00
libraryupgrader a3087d3366 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: Ide5d3fd59a4e81d35f97cb872dc9085b50cf24d4
2024-11-11 06:39:25 +00:00
libraryupgrader c5dfec2225 build: Updating @wikimedia/codex to 1.14.0
Change-Id: Icf491192eb4436eefdf81c0e6cc16fc6c96fc28c
2024-10-17 09:12:41 +00:00
Fomafix da8b651cfa Use ?? instead of default value in getRawVal()
Bug: T376245
Change-Id: I068a9976e49014eee3587f0f3fc192f467d28ad0
2024-10-02 10:36:14 +00:00
libraryupgrader e22d8dd0ac build: Updating @wikimedia/codex to 1.13.1
Change-Id: Ia3547f26afebc87ff7ac24e6b60877fb1ab4bf6a
2024-10-02 02:58:00 +00:00
libraryupgrader 67d9cbf32b build: Updating @wikimedia/codex to 1.13.0
Change-Id: I384073f9d275e6c7bcee42e7b681cf2d2a519913
2024-09-19 11:18:10 +00:00
libraryupgrader 483cf8f2d2 build: Updating path-to-regexp to 6.3.0
* https://github.com/advisories/GHSA-9wv6-86v2-598j

Change-Id: I400dd068a27c71f12448b1329caa6376f3580200
2024-09-12 17:38:25 +00:00
libraryupgrader 163e861827 build: Updating @wikimedia/codex to 1.12.0
Change-Id: I880574962a847278f8a02723e9d9b7646a1e1197
2024-09-05 16:51:20 +00:00
jenkins-bot a163467873 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-26 16:51:05 +00:00
libraryupgrader 0b2bef7577 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I56cb5bccf60dc380623a3e65949a5980584b60ba
2024-08-24 08:44:19 +00:00
James D. Forrester 6a626db902 build: Update MediaWiki requirement to 1.43
All extensions in Wikimedia production are expected to track MediaWiki's release directly.

Change-Id: Ifed9e0ca686ac51e146ff380294078436699709c
2024-08-22 18:10:31 -04:00
libraryupgrader 8346c3870d build: Updating @wikimedia/codex to 1.11.1
Change-Id: Ib007a982cca86956cd7e4d8e765bc5f158f6983f
2024-08-21 04:02:04 +00:00
Translation updater bot 388385c21a
Localisation updates from https://translatewiki.net.
Change-Id: I0ae5c428df5497d431fe912b96e8eef5474eb0c7
2024-08-19 09:24:48 +02:00
libraryupgrader 9fca995ead build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: I9ea1edcd1a51566a0d4475cf01c58d005bd40c2a
2024-08-12 03:50:15 +00:00
libraryupgrader dd3f2a50bd build: Updating @wikimedia/codex to 1.11.0
Change-Id: If400110366810ecc675238de70923ccb7f55ef0c
2024-08-10 03:44:24 +00:00
C. Scott Ananian 28e4254be5 Use appendJsConfigVar to track related page titles
This simplifies the codebase by avoiding some unnecesary custom hooks,
and also improves Parsoid compatibility.

We look for old extensiondata coming from cached pages for
compatibility, but that code can be removed once the ParserCache expires
(T371421) for further simplification.

Bug: T263772
Change-Id: I843a920a0476290a8b0efd5eba4d8d44777d27d0
2024-07-31 10:57:28 -04:00
libraryupgrader 1d6d7a0273 build: Updating @wikimedia/codex to 1.10.0
Change-Id: I86bc820d8c88eafde6f1eb044e744adfd3353eb1
2024-07-30 03:36:08 +00:00
libraryupgrader 752d01d7c4 build: Updating @wikimedia/codex to 1.9.0
Change-Id: I3a4162210fd7de3df2637ec5b147285856d5ffff
2024-07-22 03:36:48 +00:00
Translation updater bot 986bddd6d4
Localisation updates from https://translatewiki.net.
Change-Id: Iceb457e95921c975ed6f096dbeabbfc4e47db13c
2024-07-18 09:23:44 +02:00
libraryupgrader 5dc4fdbaeb build: Updating @wikimedia/codex to 1.8.0
Change-Id: If01f94512bf737a0d798be89f16f586460e6335c
2024-06-26 03:58:10 +00:00
libraryupgrader 1765a52fed build: Updating @wikimedia/codex to 1.7.0
Change-Id: I2e06e3484efcfd334145020e97670acd12cc2035
2024-06-16 21:03:20 +00:00
Ed Sanders 4e8f252f1f build: Update stylelint-config-wikimedia to 0.17.2
Change-Id: If02c4cbcec9be0b300eb8583be204515ca277e97
2024-06-14 13:17:05 +01:00
Ed Sanders fddb47b128 build: Update eslint-config-wikimedia to 0.28.2 and autofix
Change-Id: I6f9731d42bceb5ff4e2c9733a567c72e359abcbd
2024-06-14 13:07:36 +01:00
Umherirrender dd5a18c1fc tests: Use renamed class BundleSizeTestBase
Follow-Up: I131e0d85bd14e75aaebd6f212b2e64a45d4c73a2
Change-Id: I071827d4f046ffc7ad545094b146912db7c43fc5
2024-06-12 20:38:55 +02:00
Translation updater bot f38938ebbb Localisation updates from https://translatewiki.net.
Change-Id: I7e592487ec59e448cc75ef79bc435b9c65b5d4ea
2024-06-11 09:55:29 +02:00
Umherirrender 63ced7322b Use namespaced classes
Changes to the use statements done automatically via script

Change-Id: I49107af15dcfd8264ebe49fe540402d44a4cd6a4
2024-06-10 20:16:42 +02:00
jenkins-bot 8277af878e Merge "styles: Replace deprecated breakpoint tokens with Codex defined ones" 2024-06-06 19:46:10 +00:00
libraryupgrader 54060d10b8 build: Updating @wikimedia/codex to 1.6.1
Additional changes:
* Re-generated the NPM lock file.

Change-Id: Ie6bebc87beb982e7db0c7c91d84e1fc2c2ac6214
2024-06-05 20:17:04 +00:00
Translation updater bot b4fa08e599 Localisation updates from https://translatewiki.net.
Change-Id: Ia9a651212ce7f2f87cf30ebc3220c21fb6de9dec
2024-06-05 09:23:48 +02:00
Volker E. 493e20d52b styles: Replace deprecated breakpoint tokens with Codex defined ones
Current breakpoint tokens have been put in place in core and major
skins and have been merged and used in Codex and other places for a
while now.

Bug: T349793
Depends-On: I3afba8c51f60de9271054499bfa3ffbcc1a9d779
Change-Id: Ied58a3746fb164c1a4fe5819e56da6aca60fe7b1
2024-05-29 14:41:31 -07:00
libraryupgrader a7b1c561ae build: Updating grunt-banana-checker to 0.13.0
Change-Id: I439e12466b841dac3909329a6506579a0bb6cdda
2024-05-19 00:22:27 +00:00
libraryupgrader a0451e2f7e build: Updating @wikimedia/codex to 1.6.0
Change-Id: Ie480b0f1178052d727a4bc7a4d94de7a50abf94c
2024-05-16 17:05:21 +00:00
libraryupgrader f5641b9957 build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.1 → 1.1.3

npm:
* grunt-banana-checker: 0.11.1 → 0.12.0

Change-Id: I8d68185a701562fc873c24f78ae50c071156ae18
2024-05-10 21:54:30 +00:00
libraryupgrader 422f5875a4 build: Updating ejs to 3.1.10
* https://github.com/advisories/GHSA-ghr5-ch3p-vcr6

Change-Id: Iea166acbe55d8528e94fb849c75c5c67f8698984
2024-05-03 03:03:24 +00:00
libraryupgrader 9c38b3951b build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* @wikimedia/codex: 1.4.0 → 1.5.0

Change-Id: I717c5eb09257c7c01e6f7d0edfa955d831881367
2024-05-02 21:53:01 +03:00
libraryupgrader 833a84db4a build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.1 → 0.27.0
* @wikimedia/codex: 1.3.5 → 1.4.0

Change-Id: I2c36146322f92812c009ef26c6138068356aa053
2024-04-20 20:17:32 +00:00
James D. Forrester b41bf12e62 .nvmrc: Update version from 18.17.0 to 18.20.2
Change-Id: If2d1cd1a638ded587c0fb7c589a17c9e010f9da4
2024-04-17 14:01:29 +00:00
Erik Bernhardson ad1e1e448c Add a wprov parameter for measuring impact
We would like to know how many users are using this related articles
endpoint. To accomplish define a new wprov parameter (on wikitech)
and use it here. wprov is specifically defined to avoid caching
issues, this should be safe to attach to any page view to track
that page views provenance.

Bug: T358351
Change-Id: I58b450eb632a721a39b627cc34f30eb26e67be59
2024-04-10 11:44:56 -07:00
jenkins-bot 886606fdc5 Merge "Drop MobileDiff check" 2024-04-09 15:57:21 +00:00
Jon Robson b219d6fb5d Drop MobileDiff check
This page is now just a redirect so the reference is no longer
needed.

Bug: T360389
Change-Id: I216fe95e9ace82fc30879a23ece84b568159a01e
2024-04-03 10:01:24 +08:00
libraryupgrader 16354a3b92 build: Updating npm dependencies
* @wikimedia/mw-node-qunit: 7.0.0 → 7.2.0
* @wikimedia/codex: 0.13.0 → 1.3.5
* wdio-mediawiki: 2.1.0 → 2.5.0

Change-Id: Iea969a601f82c8c2d84c089a9e40b91118ddfff3
2024-03-30 16:05:30 +00:00
Ed Sanders 0c67b4a3ed Remove browser feature checks
IntersectionObserver is provided by polyfill in core, and
CSS.escape was a proxy for ES6 support, which is also now
assumed by core.

Change-Id: I739287182b7debbd2c538b79175b3cdc2a1da5ea
2024-03-28 12:23:04 +00:00
Umherirrender c82f8addbf build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I2fddd0583dbfc8ae813af20c4e710deddf4c8b67
2024-03-18 21:00:56 +01:00
Umherirrender 0d798414f4 build: Updating grunt-banana-checker to 0.11.1
Change-Id: I6db6a72a9876193207fe45b4673ec352ea334241
2024-02-29 22:39:25 +01:00
Umherirrender 241649837a build: Updating mediawiki/mediawiki-phan-config to 0.14.0
Change-Id: I3ac1dc2a903b825041632f6ca2d70e02bdc3f39f
2024-02-19 20:59:33 +01:00
DannyS712 9471c6f7f9 Hooks: injected needed configuration
To avoid needing to use MediaWikiServices

Change-Id: I37bd3b511632e8e82f48806c272aa18953eea42d
2024-02-07 18:24:23 +00:00
DannyS712 bc9added4f Hooks: inject DisambiguatorLookup as an optional service
Follow-up: Id2a10f2f1be0e38ddb8ebef5d5babb3daac3ce9a
Change-Id: Ib1a0297fd17e1cec0847d68a0c184e3c713f0111
2024-02-05 18:23:47 +00:00
C. Scott Ananian 703e142c59 Use service framework to access Disambiguator extension, not hard-coded class
The Hooks::isDisambiguationPage() method is deprecated in any case.

Change-Id: Id2a10f2f1be0e38ddb8ebef5d5babb3daac3ce9a
2024-02-02 15:16:54 -05:00
Jon Robson 71de06a682 Simplify the RelatedArticles extension to use Codex CSS components
Changes:
- Removes redundant styles now inside Codex
- With the new component, it's not possible to display 3 cards in a
single line at a tablet resolution, so the media query responsible
is bumped to apply only at the desktop threshold
- Decisions are documented in ADR

Bug: T286835
Change-Id: I493e8e601ccc31b3cf1f16c0b5a8975f12ef336c
2024-01-30 09:16:34 -08:00
James D. Forrester ed9c2ce120 extension.json: Drop 'es6' flag, always true since MediaWiki 1.41
Change-Id: If984ae5118ce72ec150c34d42e628965f0534b30
2024-01-12 19:05:47 -05:00