Commit graph

4951 commits

Author SHA1 Message Date
Jon Robson 0f39c03dc6 Mark night mode as experimental feature
Bug: T359571
Change-Id: Ic930ee1ba1af3d463f6d49825dcc4ed72537b254
2024-03-07 19:17:59 +00:00
Translation updater bot d3a4911499 Localisation updates from https://translatewiki.net.
Change-Id: If5c68b7580b8f0bef5b20715f3d4b02d3f26bdc0
2024-03-07 08:51:19 +01:00
jenkins-bot 324f5f93f2 Merge "Use overrideConfigValue/overrideConfigValues instead of setMwGlobals" 2024-03-06 23:34:40 +00:00
Jon Robson 39dfbb0369 Disable Extension:DarkMode on Vector 2022
Bug: T357598
Change-Id: I7a597f5a6b8c670d4373dba110ad39073ddbfbc4
2024-03-06 21:52:54 +00:00
Fomafix e423bf9a45 Use overrideConfigValue/overrideConfigValues instead of setMwGlobals
Change-Id: Ic5b008c3e75226946fe1c6ffd3580303072b38d2
2024-03-06 20:17:36 +00:00
Translation updater bot fc4ad5303d Localisation updates from https://translatewiki.net.
Change-Id: I71589e0cb8b3aeda4bc29f8e23b956e600a4249d
2024-03-06 08:21:33 +01:00
libraryupgrader 81a04d60b6 build: Updating npm dependencies
* @wikimedia/codex: 1.3.3 → 1.3.4
* @wikimedia/codex-icons: 1.3.3 → 1.3.4

Change-Id: If65a80f8f1df43b6440ef329552eb5468057c1ac
2024-03-06 02:36:34 +00:00
Translation updater bot 89aac8a446 Localisation updates from https://translatewiki.net.
Change-Id: I99a1141249d94819358a432dbc9b0b27ae632dd9
2024-03-05 08:29:52 +01:00
jenkins-bot 49a1f27bfe Merge "Hooks: Use private instead of public for internal functions" 2024-03-05 02:03:46 +00:00
Translation updater bot ac5ff328ed Localisation updates from https://translatewiki.net.
Change-Id: Ied04fe030657b301ea17d990b71eeb34babdfce9
2024-03-04 08:26:22 +01:00
Fomafix bfa48e6a10 Hooks: Use private instead of public for internal functions
Change-Id: Idf0e9b3f57ea8402ce7d4f4e542993cc944cfdd9
2024-03-03 18:50:53 +00:00
jenkins-bot 71ef802e69 Merge "skin.json: Remove "@args": "See SkinVector::__construct for more detail."" 2024-03-02 02:45:09 +00:00
jenkins-bot 63bfe67832 Merge "Use $this->getServiceContainer() in tests" 2024-03-01 19:51:58 +00:00
Umherirrender 73e19f26a0 Revert "Localisation updates from https://translatewiki.net."
This reverts commit 7548b0dd99.

Reason for revert: Breaks CI
1 documented message is undefined.
Message "vector-language-redirect-to-top" is documented but undefined.
Build step 'Execute shell' marked build as failure

Change-Id: I6f893e9348d7452f990544b21085af2fa9dbdd8a
2024-03-01 17:37:32 +00:00
Fomafix fe449821c8 Use $this->getServiceContainer() in tests
Use
	$this->getServiceContainer()
instead of
	MediaWikiServices::getInstance()
in tests.

Change-Id: Id614ed8948fff75991ecf2c805707bc7f16f36a6
2024-03-01 15:31:49 +00:00
Translation updater bot 7548b0dd99 Localisation updates from https://translatewiki.net.
Change-Id: Ia421971114f4310d810c315d7342beaebbc4a608
2024-03-01 08:36:14 +01:00
bwang 230c837052 Remove language notice
Bug: T353619
Change-Id: I75430c8b1e66158f798fbe27eec4942a089f3931
2024-02-29 17:04:16 -06:00
Fomafix 718334ce12 skin.json: Remove "@args": "See SkinVector::__construct for more detail."
SkinVector::__construct was removed in d4befe8c39.

Change-Id: I123c79d8329b0ff531704e0d68f5642e3cced4d9
2024-02-29 21:26:42 +00:00
Translation updater bot 15ea165a7b Localisation updates from https://translatewiki.net.
Change-Id: Idcb7ef0be0e80664f25a892cf6e5aa58cc54cb47
2024-02-29 08:38:41 +01:00
Func fe7e2b05a5 i18n: Adjust the Desktop Improvements project link
This should encourage translators to translate the Desktop Improvements project name.

Bug: T356739
Change-Id: I5335f6d7b616bb54458ee3a03e87672b825b38b2
2024-02-28 17:41:57 +00:00
Translation updater bot 34f03bb9c0 Localisation updates from https://translatewiki.net.
Change-Id: I2b7f5648f73aed1c2c83317ce497221a13256e44
2024-02-28 08:16:23 +01:00
jenkins-bot 9105c76b97 Merge "Replace use of codex-styles in beta feature with CodexModule ResourceLoader" 2024-02-27 18:01:27 +00:00
Moh'd Khier Abualruz a8eb85f3d5 Replace use of codex-styles in beta feature with CodexModule ResourceLoader
- Add new module 'skins.vector.search.codex.styles' to skin.json
- Added 'skins.vector.search.codex.styles' to bundlesize.config.json
- Replace the old styles module 'codex-search-styles' with the new one 'skins.vector.search.codex.styles' in skin.js

Bug: T353844
Change-Id: If3cbcac64242c403b42811159882741fda132555
2024-02-27 17:40:11 +00:00
Translation updater bot e330310819 Localisation updates from https://translatewiki.net.
Change-Id: Id161f06b352b8d2f4d187c70cbbd13e2c4f0c51a
2024-02-27 08:22:13 +01:00
jenkins-bot 450b84603e Merge "Add PHPUnit tests for VectorComponentMainMenu" 2024-02-27 00:50:27 +00:00
Translation updater bot f4d06fab0b Localisation updates from https://translatewiki.net.
Change-Id: I3f6293e2543f292d003907edab952559af414ccf
2024-02-26 08:39:30 +01:00
jenkins-bot 91ba3dec6d Merge "Table of contents button goes transparent on hover" 2024-02-23 19:56:45 +00:00
Moh'd Khier Abualruz cb8be96f3c Table of contents button goes transparent on hover
- Exclude the checkbox in the TOC from the hack done in https://phabricator.wikimedia.org/T333394
- This patch might not be needed as a restructure of codex import to vector could resolve most of the issues

Bug: T344066
Change-Id: I35b2ffa7a761e3ea1460fa97642966486791bab9
2024-02-23 14:10:21 +00:00
Translation updater bot be3e3fc2cc Localisation updates from https://translatewiki.net.
Change-Id: I90cd20d898a9398228caf942d7c6649f2af82440
2024-02-23 08:47:29 +01:00
ksarabia 8571219f86 Adds config flag documentation
This adds config flag documentation development use.

Bug: T352791
Change-Id: I5886b5c33f83def4d7b4030d15055aba7aee9461
2024-02-22 14:50:29 -06:00
jenkins-bot baf9430f30 Merge "icons: restore "background-" CSS rules" 2024-02-22 16:43:09 +00:00
jenkins-bot f10d65e067 Merge "Move pinnable element spacing from the pinnable element to the container" 2024-02-22 15:33:35 +00:00
Translation updater bot f8e490885c Localisation updates from https://translatewiki.net.
Change-Id: I66c2a6b0da3299e2178c40928138f5e09317e45e
2024-02-22 08:46:15 +01:00
Eric Gardner d60a644264 icons: restore "background-" CSS rules
Temporarily hard-codes some CSS background rules after Codex's
CSS-icon mixins stopped supplying them upstream (after changing
to use mask-image in icons).

Bug: T358160
Change-Id: I13be424c58b105472ef22f14e4381693f2985cd8
2024-02-21 21:42:46 -08:00
libraryupgrader eae793a8ca build: Updating npm dependencies
* @wikimedia/codex: 1.3.2 → 1.3.3
* @wikimedia/codex-icons: 1.3.2 → 1.3.3

Change-Id: If6552212b2455cfdb42659a3ffc52700a486941c
2024-02-21 02:36:54 +00:00
jenkins-bot fea70bcab1 Merge "Do not use vertical gradient mixin" 2024-02-21 00:47:56 +00:00
Jon Robson 9f1b94ce20 Correct how font sizes apply to headings
The margin and font rules are being overriden in DiscussionsTools
using equal specificity. The correction to the load order in
ResourceLoader skin module in
I83ac918ad8807c65aab2cd1dd8d7d2cd34b512af will break this.

Bug: T354975
Bug: T357929
Change-Id: I15eaf43c6750c76363ec804eda9b8ca6ec4709c2
2024-02-20 19:38:56 +00:00
Jon Robson fb9eccc071 Remove redundant site notice styles
These are currently being overriden by styles inside core
which also set margin to 0.

In I83ac918ad8807c65aab2cd1dd8d7d2cd34b512af these would override the
default leading to unintended UI changes.

Bug: T354975
Change-Id: I379ad6293bd1aa2a9304369969978cea684da98a
2024-02-20 09:28:24 -08:00
Translation updater bot 1c93781c78 Localisation updates from https://translatewiki.net.
Change-Id: I191a58f73a2f43747846955fcf0aa46e353971a1
2024-02-20 08:40:25 +01:00
Translation updater bot 928d62fe71 Localisation updates from https://translatewiki.net.
Change-Id: I7f6b9751a97d6b4bbf2c1d0663747bc45b59848d
2024-02-19 08:43:08 +01:00
Jon Robson b49ec394be Do not use vertical gradient mixin
The LESS mixin average is not compatible with CSS variables
so replace the call with the equivalent code.

Change-Id: I148eaca747352ffdc9d1423f20d34bd5a1d0e447
2024-02-16 02:14:30 +00:00
bwang 14a40c0be6 Override night mode pref with night mode query string
Bug: T357329
Change-Id: I30766bced218208ddfe5c2990d7dac290441a1d0
2024-02-15 13:59:12 -06:00
Translation updater bot 42781512ec Localisation updates from https://translatewiki.net.
Change-Id: I96089f49c8163e8b97f30fcb8c17d4dd8d1e47ed
2024-02-15 13:31:45 +01:00
Translation updater bot 198a07c02d Localisation updates from https://translatewiki.net.
Change-Id: I91e131d2f2c9d0af3ce241b4047c38e6c9185129
2024-02-14 08:21:03 +01:00
jenkins-bot f004beb8a1 Merge "Provide a visual hint that night mode is being triggered in Vector" 2024-02-14 05:27:47 +00:00
jenkins-bot f336efd555 Merge "Make vector-2022 mw-indicators flex-wrap" 2024-02-14 02:31:28 +00:00
Jon Robson 4a2e3f8917 Provide a visual hint that night mode is being triggered in Vector
Working on feature flag not having this is causing confusion. This
will speed up development by allowing me to more easily determine what
mode I am in at all times.

Change-Id: I5d4168bbf7df41f4754b36c6e6aa4955dbc609bb
2024-02-13 22:52:00 +00:00
Derk-Jan Hartman 73f53882d5 Make vector-2022 mw-indicators flex-wrap
Using an 8px gap by default. 8px is used a few times in vector-2022.
Wrapping is useful for userpages with a lot of indicators.

Bug: T340810
Change-Id: I75b59c633a6ff7a8bfdc624e6e5ba06f35fb6aee
2024-02-13 21:01:32 +00:00
bwang 809576b341 Move pinnable element spacing from the pinnable element to the container
Bug: T354431
Change-Id: I8acdb29fab7a0cd4bc8578a85509847d43abbab2
2024-02-13 14:48:48 -06:00
libraryupgrader 3d695f089c build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.13.0 → 0.14.0

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

Change-Id: Iefe491b9533b38585a6c739f0097c47aef5f857b
2024-02-13 20:08:29 +00:00