Translation updater bot
52f0a7a2c3
Localisation updates from https://translatewiki.net .
...
Change-Id: I8007131587d26fd89d90447f6532ec78780f7ca3
2024-06-10 09:55:57 +02:00
Umherirrender
12a86a9e49
Use namespaced classes
...
Change-Id: Iaa28a15e8bc1ea29e302aa2180dec0bf67f5817e
2024-06-09 19:14:49 +02:00
Translation updater bot
96e9c555b1
Localisation updates from https://translatewiki.net .
...
Change-Id: I8713406a29877f5cf0984ffd7e82065d869b6f3c
2024-06-05 09:23:44 +02:00
WMDE-Fisch
1912475dae
Remove most ReferencePreviews related i18n messages
...
The keys belong to the Cite extension where they are used already.
Bug: T363156
Depends-On: I788c16c5bddc0df7f00dbbc39625b9adaa5bf184
Change-Id: I1205af0539d6b2693f0e96d70393e7ecb005b7ba
2024-06-04 10:48:54 +02:00
Translation updater bot
fd82c03179
Localisation updates from https://translatewiki.net .
...
Change-Id: I5f05eb09224769b144517cb970a8128edb13c5a4
2024-06-03 09:32:38 +02:00
Jon Robson
aed5a78d6a
Use strings rather than integers
...
Follow up to Iae454e4b4704a0289ca0a2b0794730562fda0dd1
Bug: T364347
Change-Id: I152af4bced8275fd9ae83d056550106e59f34815
2024-05-29 16:02:56 -07:00
Translation updater bot
b53deb5bf6
Localisation updates from https://translatewiki.net .
...
Change-Id: If1014fcc7583f7d4b4ba4d325c5521d200b9f58c
2024-05-29 09:32:15 +02:00
Moh'd Khier Abualruz
a75ddc4173
feature(Popups): Conditional User Defaults Implementation
...
Implement conditional defaults for user preferences in the Popups
component.
This patch aims to simplify the preference management system by
leveraging conditional logic directly within the component rather
than relying on multiple hooks
Changes:
- Updated `extension.json` to reflect the removal of outdated hooks.
- Updated `extension.json` to reflect the conditional user defaults.
- Removed unused user option `popupsreferencepreviews` from
`extension.json`
- Modified `PopupsHooks` to streamline the preferences management,
and depend on conditional user defaults, and removing `onUserGetDefaultOptions` and `onLocalUserCreated` hooks.
- Removed unneeded test cases in `PopupsHooksTest`.
Bug: T364347
Change-Id: Iae454e4b4704a0289ca0a2b0794730562fda0dd1
2024-05-28 21:05:57 +00:00
James D. Forrester
f3f397e252
Upgrade browserslist-config-wikimedia from 0.6.1 to 0.7.0
...
Change-Id: Ic078cdb7d86f9e7b6ebc3624a76ae92da13c6010
2024-05-23 17:49:47 -04:00
Translation updater bot
aa514c485d
Localisation updates from https://translatewiki.net .
...
Change-Id: I538eec1cdbe03130f1e0a8ae107d45e6323210c1
2024-05-20 09:25:54 +02:00
Translation updater bot
15ac33cf99
Localisation updates from https://translatewiki.net .
...
Change-Id: I3d96bf4dd50c3cc331fbf9ea4ffc4b288e9aa083
2024-05-17 09:49:33 +02:00
Steph Toyofuku
39e322b6ab
Fix gradient for night mode
...
Currently, the gradient is fading into #000 when what we want is #101418
(represented by @background-color-base). Correct this and remove the
hardcoded rgba values as we don't need them and this gives us one less
place to update if the value changes in the future
Visual change (bug fix)
Bug: T360877
Change-Id: If330dd251dffb07f371c0c9222c6ef5f52120e25
2024-05-16 11:29:02 -07:00
Translation updater bot
b6cd61cffa
Localisation updates from https://translatewiki.net .
...
Change-Id: I7198efa965d8a928b2563639ba566519d678ccda
2024-05-02 09:20:04 +02:00
Raimond Spekking
44db19c642
Revert "Localisation updates from https://translatewiki.net ."
...
This reverts commit 48dcb58cbc
.
Reason for revert: due to wrong move on translatewiki.net by me
Change-Id: I62684b8d3c5a5631f5acec5b5f9155d77eaadcf1
2024-05-01 07:35:01 +00:00
Translation updater bot
48dcb58cbc
Localisation updates from https://translatewiki.net .
...
Change-Id: I2f556ed1b4ec3ca63957313a7f5f27f0366dd15a
2024-05-01 09:22:37 +02:00
Ed Sanders
9b8b402cb1
Update jsdoc to 4 and use jsdoc-wmf-theme
...
Change-Id: Idb33efa5b714826550917397d4de1f2e5087f1bd
2024-04-29 19:17:17 +01:00
Translation updater bot
253399c3d1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifca868871bfa15ae4df0ba1191a6a05270b98a40
2024-04-29 09:23:59 +02:00
Ed Sanders
b2904e36da
Explicity disable popups on DiscussionTools' timestamp links
...
It currently doesn't trigger because the links lack a
title attribute, but if one were to be added the tool
would trigger as, although timestamp links are just hash
fragment links, we also include the canonical path
before the hash.
Change-Id: I156b1401f5173ba1727861adf1efa136b96d330f
2024-04-28 08:09:31 +01:00
Eric Gardner
5d00381b87
build: Remove references to theme-wikimedia-ui-legacy
...
Previous changes in Codex have eliminated all differences between the
"legacy" build of the design tokens and the standard one.
This patch removes all references to the legacy build in preparation for the
upcoming removal of the legacy assets from Codex upstream.
Bug: T360806
Change-Id: Ib381fc6ea77d5cde21e064df3900acf005f31c9e
2024-04-24 10:09:45 -07:00
thiemowmde
1e61af1798
Use more trivial HashConfig in tests
...
No need to mock this.
Change-Id: Ic312fd6045e4c6ea450114f3548596481f1fd2ee
2024-04-24 13:13:13 +02:00
Translation updater bot
cc1bbeffd2
Localisation updates from https://translatewiki.net .
...
Change-Id: I34f5a8fa1151478a1e5951aa12ab8c055a42da50
2024-04-22 09:29:24 +02:00
Translation updater bot
70ccb79968
Localisation updates from https://translatewiki.net .
...
Change-Id: I3cae9e027af4379700e3f433ef03feac6fe37aac
2024-04-19 09:47:35 +02:00
James D. Forrester
03449d1af0
.nvmrc: Update version from 18.17.0 to 18.20.2
...
Change-Id: Ic751ea1bfe708f1728301c2fce7e16deee5fbfa4
2024-04-17 14:01:32 +00:00
jenkins-bot
d8e4500700
Merge "Improve PHP code"
2024-04-16 16:23:40 +00:00
jenkins-bot
0d73ca0d80
Merge "Remove deprecated copy of referencePreviews module"
2024-04-16 09:45:12 +00:00
Fomafix
07888b12b2
Improve PHP code
...
* Remove lost comment.
* Improve order of calls.
Change-Id: I83a63dd08cd9b355afbfff4361ba2dfcc19c8a0c
2024-04-16 08:35:08 +00:00
Translation updater bot
b99750e503
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib269c5ad92b797fcf9f86ec73d35f3209287f595
2024-04-16 09:28:50 +02:00
bwang
e6fdaf1648
Replace codex-search with codex module
...
Bug: T356690
Change-Id: I1b90cb8847d85a5c761db573c94bec321bbb638a
2024-04-15 15:04:25 -05:00
Adam Wight
da29c0299b
Remove deprecated copy of referencePreviews module
...
This has been provided by the Cite extension since I0dc47abb59a4 .
Bug: T362332
Change-Id: Ic2594d0638685326fd08198c691e18371e132ffc
2024-04-15 10:44:48 +02:00
jenkins-bot
3cf45dd5ab
Merge "Account for scroll offset when using non-mouse positioning"
2024-04-14 02:30:39 +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
Ed Sanders
d4b0d10b13
Account for scroll offset when using non-mouse positioning
...
offsetTop includes the scroll offset, so when using it to
calculate clientTop (position relative to the viewport),
we need to substract that offset.
clientY comes from mouse events and is already relative
to the viewport so needs no adjustment.
Bug: T270215
Change-Id: I545b14059f416678fc0d35413a76334e57bfc495
2024-03-21 13:35:13 +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