Commit graph

5473 commits

Author SHA1 Message Date
jenkins-bot c38e0677c3 Merge "Migrate uses of codex-search in Vector to use CodexModule" 2024-03-13 16:27:55 +00:00
Moh'd Khier Abualruz 182bb7519b Migrate uses of codex-search in Vector to use CodexModule
- Loaded new skins.vector.search.codex.scripts module in skin.json, with only the CdxTypeaheadSearch component with codexScriptOnly flag set to true.
- Included skins.vector.search.codex.scripts in the script loading configuration for Vector22 within skin.json.
- Turned off the "interface-message-box" feature within Vector22's skins.vector.styles configuration in skin.json, as Codex now supplies these styles.
- Fix the style selector to add `.cdx-button` to `.vector-limited-width-toggle` in BottomDock.less since using the codex style
- Substituted "codex-search-styles" with "skins.vector.search.codex.styles" in the existing configuration.
- Ensured the availability of skins.vector.search.codex.scripts module for use, marking it in the list of modules in skin.js.
- Modified App.vue to utilize skins.vector.search.codex.scripts instead of @wikimedia/codex-search.
- Update App.test.js.snap to the latest output form
- Update bundlesize.config.json with newest values

Bug: T356677
Change-Id: I7fc223db01171efe6656792530d4b625be4c8edc
2024-03-13 15:58:26 +00:00
Translation updater bot 518b3fd981 Localisation updates from https://translatewiki.net.
Change-Id: I7833c4592aa74d3a75762a63c1dd6421651be24f
2024-03-13 08:27:18 +01:00
jenkins-bot 87ae000d25 Merge "Increase line height for medium and large font settings" 2024-03-12 23:35:34 +00:00
Umherirrender 7afaa93ab2 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: Ic8e1a7bc4bab091b0e959deae5258181fc54891b
2024-03-12 20:51:09 +01:00
bwang 0531fbd117 Increase line height for medium and large font settings
Bug: T359030
Change-Id: I5be2e06c01c1959241d8d5347cb4f37c62c7cee2
2024-03-12 14:25:19 -05:00
Reedy 3ce9fd814f Fix casing of MediaWiki
Change-Id: I1fd944ea6bdd8231d00feb7e5c5b48fbf808d729
2024-03-12 15:44:13 +00:00
Translation updater bot 627c3be3e1 Localisation updates from https://translatewiki.net.
Change-Id: Ifc7e5ec73bb063a74063ee03a84e604b5b3e3def
2024-03-12 08:26:45 +01:00
jenkins-bot c27df316ed Merge "Address FIXME relating to use of !important" 2024-03-11 23:01:50 +00:00
Translation updater bot ce9ee45204 Localisation updates from https://translatewiki.net.
Change-Id: I291472ea9bde5271a7d8d0ebb3e14ff3f6586ed2
2024-03-11 08:30:26 +01:00
jenkins-bot 06ed0b8e19 Merge "Create a FeatureManagerFactory" 2024-03-11 07:24:06 +00:00
Jon Robson 9048285310 Address FIXME relating to use of !important
The !important is no longer needed now that T354975 is done.

Change-Id: I62d9dfd03064167851a34e25751919b73734d1e2
2024-03-08 16:40:39 -08:00
Umherirrender ea4fd5d182 Create a FeatureManagerFactory
Some feature requirements needs access to the request user or title.
Currently the context is given in the ServiceWiring callback,
access to RequestContext::getMain() should be avoided during service
wiring (T218555).
Create a factory to hold the code from the service wiring and call the
factory with the request context from the skin to get a feature manager.

Bug: T359665
Change-Id: I57515ec02ed454620f729a109d0ace43b447b6ce
2024-03-08 20:28:31 +01:00
jenkins-bot 0c16816cb5 Merge "Remove unimplemented configuration" 2024-03-08 18:55:29 +00:00
jenkins-bot 061ce1fc9c Merge "Interaction to Next Paint (INP) Core Web Vital Improvement" 2024-03-08 15:33:30 +00:00
Translation updater bot 38c9d18a65 Localisation updates from https://translatewiki.net.
Change-Id: I7c71ae539e58a6185206be1f6a503f3cf5ee05f8
2024-03-08 08:25:33 +01:00
Jon Robson e9f7f3a3ca Remove unimplemented configuration
This was never implemented and will likely cause avoidable
confusion if allowed to persist in the codebase given our work on T359606

Change-Id: Icf36108f24198358e53bf04942751fe3306bc726
2024-03-08 00:56:12 +00:00
Moh'd Khier Abualruz fb734a46f6 Interaction to Next Paint (INP) Core Web Vital Improvement
According to a Google contact, given we set viewport to 1000px
for mobile devices viewing Vector get a tap delay.

The solution was suggested in https://developer.chrome.com/blog/300ms-tap-delay-gone-away?hl=en
and Peter has confirmed helps improve performance.

A supports query is added to limit this rule to only browsers where
it applies.

Bug: T358380
Change-Id: Ifd7d8951e06e3ba0faaed354492d23e6e0bc8f69
2024-03-07 16:53:06 -08:00
jenkins-bot 69a0f5cecc Merge "ADR - Code sharing between Vector and Minerva Skins" 2024-03-08 00:51:00 +00:00
Moh'd Khier Abualruz d16960e95c ADR - Code sharing between Vector and Minerva Skins
- Added Code sharing between Vector and Minerva Skins ADR
- Updated the title of an old ADR to "Publish client preferences" it was wrong before

Bug: T357077
Change-Id: Ied0d4f008969b6ef0adac7f22bb374843519b408
2024-03-08 00:19:10 +00:00
jenkins-bot fa02f98951 Merge "Inject services in Hooks" 2024-03-07 23:12:25 +00:00
Fomafix 9d1819f4ec Inject services in Hooks
Change-Id: Ice931a7596c73781f05265d96e0086729402ae63
2024-03-07 20:23:51 +00:00
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