Commit graph

5471 commits

Author SHA1 Message Date
Translation updater bot a5cb99f9f4
Localisation updates from https://translatewiki.net.
Change-Id: Ida2245323b1a0212540fe97677b0a3987f3b1d51
2024-12-02 08:25:20 +01:00
Translation updater bot 35ad98eecd
Localisation updates from https://translatewiki.net.
Change-Id: I9470761975a283545bb22ad30b958d180c4c47c4
2024-11-29 08:33:50 +01:00
Translation updater bot e794d5aa25
Localisation updates from https://translatewiki.net.
Change-Id: I3ef3dddfd5bfb251ef06bee917b4636634a98409
2024-11-28 08:17:58 +01:00
Translation updater bot 22694d5678
Localisation updates from https://translatewiki.net.
Change-Id: I520c9b88442afcf68ad395eb908c0f5fb22f2143
2024-11-27 08:23:45 +01:00
Translation updater bot 1bbc10c545
Localisation updates from https://translatewiki.net.
Change-Id: Ifa30f26b6d488e4e7d284f48dea565fce737be1f
2024-11-26 08:19:00 +01:00
Seawolf35gerrit 967e9d08c2 Vector: Remove compatConfig from Vue settings
Why:
- After migrating to the regular build of Vue 3, the compatConfig
  settings in component definitions will be ignored.

What:
- Remove compatConfig declarations from all Vue components in this extension.

Bug: T289105
Bug: T363351
Change-Id: I0f4aefd767145dbba8801c6f4111c64918756e8a
2024-11-25 20:02:24 +00:00
Translation updater bot 77e782475c
Localisation updates from https://translatewiki.net.
Change-Id: Id1610c9fab5193c48ca93d0e75b055e10af2c74d
2024-11-25 08:27:05 +01:00
Translation updater bot 46ac1ed3c6
Localisation updates from https://translatewiki.net.
Change-Id: Ie4703e27ad12f2d259b969af46047560d907fcfa
2024-11-22 08:45:51 +01:00
Translation updater bot b8371477cf
Localisation updates from https://translatewiki.net.
Change-Id: I1ec02e625e95f4f06cf72efcce3df50db52601ef
2024-11-20 08:29:30 +01:00
Fomafix b35f956bca PHPUnit: Use FQCN with leading backslash in @covers annotation
https://docs.phpunit.de/en/11.4/annotations.html#covers recommends:

Please note that this annotation requires a fully-qualified class name
(FQCN). To make this more obvious to the reader, it is recommended to
use a leading backslash (even if this not required for the annotation
to work correctly).

Change-Id: I58d381d8a5b378d0086bdce0717f42e885ea5b87
2024-11-19 19:34:44 +00:00
jenkins-bot 57efc86758 Merge "Fix dark mode issue in navbar separator" 2024-11-19 18:39:28 +00:00
Translation updater bot 200b1d4445
Localisation updates from https://translatewiki.net.
Change-Id: I2d57997350461937d4995b5412fb7729196fb5cf
2024-11-19 08:20:56 +01:00
Translation updater bot 570192367f
Localisation updates from https://translatewiki.net.
Change-Id: I1811776a7c97b684e2d8988f7bcc27e8d3227879
2024-11-18 08:27:58 +01:00
Taavi Väänänen 39e3dd7f99
Fix dark mode issue in navbar separator
Fixes the separator bar used in the sticky navbar being a light gray
color on dark mode to be a dark gray instead. The light gray is changed
from #c8c8c8 to #c8ccd1 to match an existing Codex color.

Change-Id: I1638fb268dc7a1bbbe80d46b1f2678aa69ba7679
2024-11-15 17:47:24 +02:00
jenkins-bot 397c7a6411 Merge "Don't copy screen-reader text of icon-only buttons" 2024-11-15 14:36:36 +00:00
jenkins-bot 23aba3e1f9 Merge "build: Updating npm dependencies" 2024-11-15 12:11:00 +00:00
Translation updater bot 1ee6c80071
Localisation updates from https://translatewiki.net.
Change-Id: Id86c65f82cd05c40fa35f11b3f4b0c9d8ac2fa4b
2024-11-15 08:49:08 +01:00
libraryupgrader 5f6e547b1a build: Updating npm dependencies
* @wikimedia/codex: 1.15.0 → 1.16.0
* @wikimedia/codex-icons: 1.15.0 → 1.16.0

Change-Id: I23243612afd0c7148d1fb046b965a7b5cc6321ee
2024-11-15 06:54:28 +00:00
Translation updater bot 5520e46bd4
Localisation updates from https://translatewiki.net.
Change-Id: I9d0fef2754a5e46c4be12d500e88ebc8745b6d82
2024-11-14 08:22:24 +01:00
Translation updater bot b29b98523f
Localisation updates from https://translatewiki.net.
Change-Id: Ib22447fe4b62cdce2948d08dc82aac24a92c9bfd
2024-11-13 08:28:52 +01:00
Msz2001 62fc497b33 Don't copy screen-reader text of icon-only buttons
Bug: T340671
Change-Id: I6430f5d43c280b1e7211e330496b17136867e581
2024-11-12 13:14:40 +00:00
Translation updater bot 7260e6cf89
Localisation updates from https://translatewiki.net.
Change-Id: Iae8e431ee45d643375fded3e2fa52d2916734179
2024-11-12 08:21:01 +01:00
Translation updater bot 6cedae01db
Localisation updates from https://translatewiki.net.
Change-Id: If64b2a7dbb3536316448b90380a5ecbf67a44873
2024-11-11 08:26:03 +01:00
Translation updater bot ec8e9e1d1b
Localisation updates from https://translatewiki.net.
Change-Id: I1ab5e9babe77766d547eefa0e2b138be21d42ece
2024-11-08 08:31:55 +01:00
Ed Sanders f63aaf26fe Remove IntersectionObserver fallback
It is always provided by web2017-polyfills in core.

Also remove checks for requestAnimationFrame, which core now
assumes to exist.

Change-Id: Ia9dd0330b45c945cf4aca1ea0d4edadc7308e1fc
2024-11-07 15:53:33 -08:00
Translation updater bot f985f6d5ef
Localisation updates from https://translatewiki.net.
Change-Id: Iab1dfcf4b652da56b749a3ddc775fa2562d1eed8
2024-11-07 08:21:35 +01:00
Translation updater bot c9143ad10b
Localisation updates from https://translatewiki.net.
Change-Id: I9164a9380dad4c98f61ff03cacd34e89cde2c65f
2024-11-06 08:27:07 +01:00
jenkins-bot 178e4e12af Merge "Do not show empty user links dropdown in private wikis" 2024-11-05 19:34:54 +00:00
Translation updater bot 394d7bc07d
Localisation updates from https://translatewiki.net.
Change-Id: I91d538b8dd63b150ac05369962c290f6149dc78d
2024-11-05 08:36:17 +01:00
jenkins-bot 7c3ccd90bd Merge "Do not load CodexTypeaheadSearch styles on page load" 2024-11-05 03:20:30 +00:00
Ammarpad 02dfbd4acb Do not show empty user links dropdown in private wikis
In situations where anon account creation is disabled or when
combined login link would be used, the usermenu array contains
single element (for 'login' or 'login/create') instead of two
elements ('login' and 'create account' items separately)

If $wgWikimediaMessagesAnonDonateLink is enabled through the
WikimediaMessages extension, the third element 'sitesupport'
exists, making the number of anon items either 1 or 2 or 3.

This patch fixes $isDefaultAnonUserLinks variable to account
for all the cases

Additionally, if even login is disabled, the element count can be
zero and in such case we need to hide the dropdown in all cases
(not only on large viewports) because it would always be empty.

This patch passes the userlinks count to ::getDropdown() and adds
CSS class when appropriate to hide the drowpdown completely.

Bug: T332743
Change-Id: I1ce5e1ea30917a6e80ef00f3c1703cbd0ecb6968
2024-11-04 11:35:23 +01:00
Translation updater bot ba57a83c7d
Localisation updates from https://translatewiki.net.
Change-Id: Ibdaf238f0e4db23822e7ea26eee43b00c7985f2f
2024-11-04 08:25:50 +01:00
libraryupgrader 9006a0a8f2 build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: I089a6add53344d0099684c1164d042b9b665f0b2
2024-11-03 13:27:04 +00:00
Translation updater bot ee074c9d3e
Localisation updates from https://translatewiki.net.
Change-Id: I615721a3c0054b531ed21435fbe0284ca35fe80e
2024-11-01 08:39:12 +01:00
Jon Robson acdad079f4 Adjustments to bundle size testing
* Stop monitoring bundles which contain Codex elements that are
not render blocking resources (e.g. skins.vector.search.codex.scripts)
- going forward we should limit monitoring to only code in the codebase
and render blocking CSS. These will now be monitored in core.

Follow up to Ib2a9ee811f9672b5bffaf2263fbc6fc37d806d59

Bug: T378635
Change-Id: Ia12385329973c2bdbe914d243c0a9c7805511c68
2024-11-01 00:35:46 +00:00
Jon Robson fc8513e61a Do not load CodexTypeaheadSearch styles on page load
Move CdxTypeaheadSearch out of render blocking module - it is not
needed - only CdxSearchInput is rendered by default.

Bug: T378636
Change-Id: Id4feb26f73413826cf04ec200d0d501c6b057bfc
2024-10-31 20:34:15 +00:00
jenkins-bot 14f42dd971 Merge "tests: Use fresh RequestContext in FeatureManagerTest" 2024-10-31 17:09:35 +00:00
Translation updater bot 30ab339589
Localisation updates from https://translatewiki.net.
Change-Id: Ic2a2dc8ddc6d0668a2c17e28f1f2f1125f4c49cc
2024-10-31 08:17:49 +01:00
Umherirrender 03634118e3 tests: Use fresh RequestContext in FeatureManagerTest
RequestContext::getMain() is global state and
should not be used by unit tests

Change-Id: I8ea64ebc4c83b909b4d397532b7dba4ebf9a9f07
2024-10-30 21:12:18 +01:00
libraryupgrader 74f72ecf7d build: Updating npm dependencies
* @wikimedia/codex: 1.14.0 → 1.15.0
* @wikimedia/codex-icons: 1.14.0 → 1.15.0

Change-Id: I7cef5746afc93a114873170ab3872d81def187e5
2024-10-30 04:28:06 +00:00
Eric Gardner 7bdc64361d Update Codex bundlesize config
Bug: T378366

Change-Id: Ib2a9ee811f9672b5bffaf2263fbc6fc37d806d59
2024-10-29 20:18:55 +00:00
jenkins-bot 804d31be9e Merge "Use explicit nullable type on parameter arguments" 2024-10-29 18:13:15 +00:00
Translation updater bot 473fefa6c7
Localisation updates from https://translatewiki.net.
Change-Id: Icedc3a2d944b15ef870c0e5824cc862f5bc4c79b
2024-10-29 08:45:09 +01:00
Reedy 621484ca7b Use explicit nullable type on parameter arguments
Bug: T376276
Change-Id: Ic96b569cb73534d00f2ccd43829235351c6889c3
2024-10-28 22:22:03 +00:00
Translation updater bot d9d4603095
Localisation updates from https://translatewiki.net.
Change-Id: I29e57dce30f2c5afa46b7d145e339bb5a35fd0ce
2024-10-28 08:27:20 +01:00
Translation updater bot 663acf13a0
Localisation updates from https://translatewiki.net.
Change-Id: I6d8f1d7312635e9932a248bcdebb0c7930ccaa44
2024-10-25 09:59:00 +02:00
Jon Robson 01e50fbda8 Expand documentation on resize event for client preferences
Bug: T375559
Change-Id: I0326de423c18eeeb6bce3cef2dc72fe248695b18
2024-10-24 21:11:12 +00:00
jenkins-bot a9a2b617f5 Merge "Align Vector link styles with Minerva" 2024-10-23 20:33:43 +00:00
ksarabia eb74bc6080 Align Vector link styles with Minerva
To make sure this is code-ified I have added the rule selector-max-specificity
to check specificity and error if we ever attempt to change this and to also
prevent us from writing overly complicated selectors (for now the default is
based on the status quo)
Additional change is required to skinStyle file to accomodate the new rule.

Bug: T373989
Change-Id: I3921d1fb3a098faae8f5a8bdc895783f1b298daa
2024-10-23 03:22:17 +00:00
jenkins-bot b4679fe6e0 Merge "Make Donate collapsible into user links dropdown, and make header more responsive" 2024-10-23 01:47:08 +00:00