Commit graph

3021 commits

Author SHA1 Message Date
Translation updater bot a648fe5869
Localisation updates from https://translatewiki.net.
Change-Id: I47e2c2eeb080a1d52c5a6626702beb1f1dac1bd2
2024-08-15 08:02:43 +02:00
Translation updater bot 14b51fb77f
Localisation updates from https://translatewiki.net.
Change-Id: Iaca0c4a432ee2eed9a9c54f788f26ac7741550fd
2024-08-08 08:09:55 +02:00
Translation updater bot 83c7251d15
Localisation updates from https://translatewiki.net.
Change-Id: I05cb5c51901c2b25fe598a58aa2e7cdcc0bacc7c
2024-08-01 07:55:45 +02:00
Translation updater bot aaa9b17f78
Localisation updates from https://translatewiki.net.
Change-Id: I9ba6b95526fe3d8686b6b402c86c2731a4e628d9
2024-07-18 08:16:25 +02:00
Translation updater bot 6de821b4e9
Localisation updates from https://translatewiki.net.
Change-Id: I5b5ff3f6376c8870ceddd73db9e7333948859086
2024-07-04 08:35:38 +02:00
libraryupgrader 44af5aa289 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I185691338d533ef788f1ab0537ba42e1ddab3afd
2024-06-15 19:14:41 +00:00
Translation updater bot e78ed88549
Localisation updates from https://translatewiki.net.
Change-Id: Ic60fef6323aa3b97d8a3c1834257d39e158a2129
2024-06-13 08:40:06 +02:00
Translation updater bot 8402723cd7 Localisation updates from https://translatewiki.net.
Change-Id: Ic0762d67805c65411af180fc0f09d011e4ff56fd
2024-06-06 08:41:14 +02:00
Translation updater bot 6e7218f303 Localisation updates from https://translatewiki.net.
Change-Id: Ib707959f6bc541bb5126d4ea845f5621bd1a45aa
2024-05-30 09:13:22 +02:00
Translation updater bot 32f534418f Localisation updates from https://translatewiki.net.
Change-Id: I134840be1336fe8a4b29b28ff1ae0a7e1f11682a
2024-05-23 08:41:29 +02:00
Translation updater bot e816aab095 Localisation updates from https://translatewiki.net.
Change-Id: Idb88b586303c0f98313cae9712533ef7b8b73cea
2024-05-09 08:08:50 +02:00
libraryupgrader c69ddfffbe build: Updating ejs to 3.1.10
* https://github.com/advisories/GHSA-ghr5-ch3p-vcr6

Change-Id: Ia6e5bdc5b9319945e63cea29c0e33bc9555f09fd
2024-05-02 11:56:58 +00:00
Translation updater bot cb9572abf9 Localisation updates from https://translatewiki.net.
Change-Id: I15f61587615fc1e9fbd85cb7517fdb1aa1fbe782
2024-05-02 08:11:57 +02:00
Translation updater bot e12d32873c Localisation updates from https://translatewiki.net.
Change-Id: Ib6207378401cf2e5f5388899afe9c8b2cdd278d6
2024-04-25 08:32:02 +02:00
Translation updater bot 8fee19f13b Localisation updates from https://translatewiki.net.
Change-Id: If876eb5c494def5b7a4d978260ba57f53361146d
2024-04-18 08:11:32 +02:00
libraryupgrader e6f5207100 build: Updating npm dependencies
* bundlesize: 0.18.1 → 0.18.2
* follow-redirects: 1.15.5 → 1.15.6
  * https://github.com/advisories/GHSA-cxjh-pqwp-8mfp

Change-Id: I8a94efc5c042de749f199ffc22afc6ef8c608853
2024-04-18 02:32:49 +00:00
Translation updater bot f1f6ff6d13 Localisation updates from https://translatewiki.net.
Change-Id: Ie0667729a8cf28bfc31ec7146c6855b5eb961cb1
2024-04-08 09:26:44 +02:00
Translation updater bot 7b1aa41a5c Localisation updates from https://translatewiki.net.
Change-Id: I7998d5ee96cf69225e1cbeaba75699585593a91e
2024-04-05 09:38:48 +02:00
Translation updater bot 067a6db323 Localisation updates from https://translatewiki.net.
Change-Id: I2adee28e6661d7996c63346695eb155fa4811b91
2024-04-01 09:23:05 +02:00
Translation updater bot e7a44591a8 Localisation updates from https://translatewiki.net.
Change-Id: I6f46998c05fd6064563f161cbf000bfc2b762690
2024-03-25 08:36:31 +01:00
Fomafix 61c539d205 Get ResourceLoader from Context
Change-Id: I439266105ef18612da50a3d306b04a835c648eae
2024-03-23 08:38:13 +00:00
jenkins-bot fc9c41ee05 Merge "Inject 'Popups.Logger' into PopupsHooks" 2024-03-21 22:30:10 +00:00
jenkins-bot 3f0ecfe721 Merge "Inject Popups services into PopupsHooks" 2024-03-21 22:30:08 +00:00
Translation updater bot b46fc85941 Localisation updates from https://translatewiki.net.
Change-Id: I7921456f63163fc6806b6f20118e76e5d5299dca
2024-03-20 08:24:24 +01:00
Moh'd Khier Abualruz 609fb8149d Rename the skin night mode classes to more readable classes
The classes:
- skin-night-mode-clientpref-0
- skin-night-mode-clientpref-1
- skin-night-mode-clientpref-2
is being replaced with
- skin-theme-clientpref-day
- skin-theme-clientpref-night
- skin-theme-clientpref-os

Depends-on: Ia253de68f94236e7fe2219b736dd6084c64ce838

Bug: T359983
Change-Id: I262e07dfa6e5d8b38c06bff9aab8fa15e4cddee1
2024-03-19 23:28:39 +00:00
Fomafix 1ce8b38f9f Inject 'Popups.Logger' into PopupsHooks
The function PopupsContext::getLogger is not needed anymore.

Change-Id: Ib538372f1480d282857d827fedbe0ebe9abc0685
2024-03-19 20:26:53 +00:00
Fomafix a523b79232 Inject Popups services into PopupsHooks
Change-Id: I16ebb2aff9afab0449e3cc4b58a7ac6b3ed9870a
2024-03-19 20:10:36 +00:00
Adam Wight cf2a10e42e Remove referencePreviews tests
These are causing trouble because of the forwards-compatibility
logic.  When Cite is present, we transparently switch to using that
code base for reference previews which means these tests are running
against the wrong code.  Dropping tests here in favor of the Cite
tests.

Bug: T355194
Change-Id: Ide1940ad1e915eee7127f36fb2a7c87b5fb6f88a
2024-03-18 13:55:20 +01:00
jenkins-bot 2245ecee4e Merge "Fix popups night mode" 2024-03-13 20:26:10 +00:00
bwang 36160150cd Fix popups night mode
Bug: T359081
Change-Id: I96d5e292c71050d8ae7cdd12337a045ce146a5cc
2024-03-13 11:04:06 -05:00
Umherirrender 407a1011e9 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I6b1cae8b9cc7a99e839e86f2db3f8d9e9b3ee546
2024-03-11 20:43:15 +01:00
Translation updater bot c555fd4840 Localisation updates from https://translatewiki.net.
Change-Id: I1134f6459252418dd18c45e44935e7c6b2d62397
2024-03-04 08:23:58 +01:00
Translation updater bot cdcf45aca1 Localisation updates from https://translatewiki.net.
Change-Id: I40d66c07bd26de32b5dd1da8c2b385368b30feb4
2024-03-01 08:33:54 +01:00
Translation updater bot 8f735476bb Localisation updates from https://translatewiki.net.
Change-Id: Ieac58ac10e75badc0cad4b1cfeca28b337e1e895
2024-02-26 08:36:52 +01:00
Translation updater bot 6cc868a9e1 Localisation updates from https://translatewiki.net.
Change-Id: Ie21c7d47344d87f17f426e2ffacbea8d53932d0b
2024-02-23 08:45:06 +01:00
Umherirrender 39f843226e build: Updating mediawiki/mediawiki-phan-config to 0.14.0
Change-Id: Id865d07d072ad22283d0aee5e7645f110beb7130
2024-02-19 20:53:00 +01:00
Translation updater bot 4c6f3f6062 Localisation updates from https://translatewiki.net.
Change-Id: I333c55291995775aa1085e6b571a269d4b53b1e6
2024-02-19 08:40:52 +01:00
Translation updater bot c32bac580f Localisation updates from https://translatewiki.net.
Change-Id: Ieff0237a168fe0466ed189d5a3141b892f14aa60
2024-02-15 13:28:54 +01:00
Translation updater bot 07bf389530 Localisation updates from https://translatewiki.net.
Change-Id: I956c8d5ffc0189a5948f9013a6a921db1b6efa45
2024-02-12 14:50:20 +01:00
jenkins-bot 15cf983fdb Merge "Allow Cite to define the reference preview module instead" 2024-02-08 16:09:02 +00:00
jenkins-bot cbe69cbf53 Merge "Reference previews should no longer use Webpack" 2024-02-08 16:09:00 +00:00
James D. Forrester 608fa2b69d build: Upgrade browserslist-config-wikimedia from 0.5.1 to 0.6.0
Change-Id: I8d0a00efb0464149951af33b7d24e407035c8d08
2024-02-07 14:32:44 -05:00
Jon Robson e9ac5dcf47 Allow Cite to define the reference preview module instead
This provides backwards compatibility with Cite, if Cite has register
its own preview module for reference tooltips.

Bug: T355194
Change-Id: Iec6f3d4d6c5f765c151ae0dbba258049530e6bc0
2024-02-02 10:59:04 -08:00
Jon Robson 7172aae082 Reference previews should no longer use Webpack
As a precursor to moving this code to the Cite extension move it off
of webpack and switch to using require rather than import

Bug: T355194
Change-Id: Ib6486ad38b79a3b67a9744b716b1a2f5d3779795
2024-02-02 10:52:30 -08:00
Translation updater bot f36b554739 Localisation updates from https://translatewiki.net.
Change-Id: I9bd30556b5e546aeed67bf248317e6fc92121168
2024-02-02 08:54:01 +01:00
Umherirrender f5dd9a0bbf Add return type hint to functions in ServiceWiring.php
This is a common pattern for service wiring functions

Change-Id: I2c6a6b95ad5f9d69f90631ede39882e41e7c85df
2024-02-01 19:18:16 +01:00
Jon Robson 51059828bf Do not search for elements if no previews have been registered
The findNearestEligibleTarget method is now being called with an
empty array and thus an empty string as a selector

Follow up to
I5f293a134521f086c9f62babb9d06cd9c51d7d47

Bug: T355933
Bug: T356186
Bug: T356193
Change-Id: I3af44ae65d5097fc44744838a4edb07552568b17
2024-01-30 16:42:14 +00:00
Jon Robson 8e4996485f Add new @stable event.Popups.SettingChange event
Extensions may want to log metrics relating to settings being enabled
or disabled. This is currently the case with reference previews.

This is a follow up to
I1c434f0098ae23bd62256686a658e3d5ef7f70b9

Additional change: Add FIXME clarifying migrateOldPreferences is temporary
and setting a date it can be removed.

Bug: T353798
Change-Id: If9bac123d731e7da7429ba3a0ea92e80263df6a6
2024-01-29 14:42:11 -08:00
jenkins-bot 8fc7222b26 Merge "Don't bail out early when there are no selectors configured" 2024-01-29 22:28:22 +00:00
Translation updater bot dd0b924cb8 Localisation updates from https://translatewiki.net.
Change-Id: I1b306f378fa69fd87dd3d2a2529f466d5d4bc8e0
2024-01-28 16:07:51 +01:00