Commit graph

5451 commits

Author SHA1 Message Date
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
Translation updater bot 1bfdc40be9
Localisation updates from https://translatewiki.net.
Change-Id: I31b1241e72a80120bb69b31faf6d7c7cb37dd790
2024-10-22 09:31:25 +02:00
Translation updater bot 4f0137ff43
Localisation updates from https://translatewiki.net.
Change-Id: Id15e5a3150fb768852c4251b5b3eac6b73a13309
2024-10-21 18:20:30 +02:00
Translation updater bot df5437997a
Localisation updates from https://translatewiki.net.
Change-Id: Ia6b8817e272fb8a095cc90e7c79ab33060ec2ded
2024-10-21 09:22:52 +02:00
Umherirrender 69ece78cb1 Use namespaced classes
Changes to the use statements done automatically via script

Change-Id: I46fc796ec98e53070eb9edbede9eca67cc3a15a5
2024-10-20 14:01:19 +02:00
Translation updater bot 30988d87bb
Localisation updates from https://translatewiki.net.
Change-Id: Ia1030ae4c53f59205799475df569f0f8fbae10e8
2024-10-18 09:27:20 +02:00
libraryupgrader d689c2c33f build: Updating npm dependencies
* @wikimedia/codex: 1.13.1 → 1.14.0
* @wikimedia/codex-icons: 1.13.1 → 1.14.0

Change-Id: Id54bfebf2bca8dec9b6b1acfa11cd64516060d22
2024-10-17 15:36:00 +00:00
Translation updater bot cc077c6dd4
Localisation updates from https://translatewiki.net.
Change-Id: I886ee2383cf9e16e03e7ddeed71f07736839a09a
2024-10-17 09:24:46 +02:00
Jon Robson 171ab9b9f9 Match production for night mode configuration
Night mode is now enabled for all logged in users so update
skin.json to reflect that.

Change-Id: I917a24e5a6b598f44c076dd8c3d0f749e86f602f
2024-10-16 19:55:18 +00:00
bwang 476ac6962f Make Donate collapsible into user links dropdown, and make header more responsive
Bug: T375903
Bug: T375901
Depends-on: I52c1dde47fb46bba7cd62d0fa28cba2c77b0c9e6
Change-Id: I48b439f6e6f573172f3d334c1816cf84be675b24
2024-10-16 11:21:56 -05:00
jenkins-bot e56366cbee Merge "Turn if…return true…else…return false into boolean expressions" 2024-10-15 18:27:23 +00:00
jenkins-bot 286ff9613c Merge "build: Remove explicit install of postcss-less package" 2024-10-15 08:34:31 +00:00
Translation updater bot aa1d0d1144
Localisation updates from https://translatewiki.net.
Change-Id: I954c4e4f2aa4bcf03e79266cb8e52e52e7bc8780
2024-10-14 09:32:45 +02:00
Umherirrender 5ca7400776 build: Remove explicit install of postcss-less package
The version is managed by stylelint-config-wikimedia package

Change-Id: Ibf3f1fd6d5c6a2255e9b4e5b862fe155529e34eb
2024-10-12 14:24:21 +02:00
Ebrahim Byagowi c8c1833e16 More effective use of Less in Watchstar.less
And just to make it more similar with
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/skins/MinervaNeue/+/3d1cbeb8/resources/skins.minerva.base.styles/watchStar.less#11

Change-Id: Iefd4ce2982e76c3c34eb4af39b0b9d544ea4d94d
2024-10-12 15:39:23 +03:30
jenkins-bot f335cee6fd Merge "Reverse the watch star animation for RTL" 2024-10-12 11:12:18 +00:00
Translation updater bot bbe159457d
Localisation updates from https://translatewiki.net.
Change-Id: I54a93f4856e28661381820ad399b78da2b97f3ca
2024-10-11 09:27:26 +02:00
libraryupgrader 849ea2db95 build: Updating npm dependencies
* eslint-config-wikimedia: 0.28.0 → 0.28.2
* stylelint-config-wikimedia: 0.17.1 → 0.17.2
* @wikimedia/codex: 1.7.0 → 1.13.1
* @wikimedia/codex-icons: 1.7.0 → 1.13.1
* micromatch: 4.0.7 → 4.0.8
  * https://github.com/advisories/GHSA-952p-6rrq-rcjv
* path-to-regexp: 6.2.2 → 6.3.0
  * https://github.com/advisories/GHSA-9wv6-86v2-598j
* ws: 7.5.9, 8.17.0 → 7.5.10, 8.18.0
  * https://github.com/advisories/GHSA-3h5v-q93c-6h6q

Change-Id: Id981e2f1e36b0eb135064a88b686a5e3c210a922
2024-10-10 18:57:01 +00:00
Ebrahim Byagowi 27273a13ac Reverse the watch star animation for RTL
Bug: T376898
Change-Id: I7863cab67702121c95cdb4ecac6dbf7431ebe30f
2024-10-10 17:23:02 +00:00
Translation updater bot 77bdf9eac0
Localisation updates from https://translatewiki.net.
Change-Id: I6a1f543f712d76add5d5f53382e429f95897c7c8
2024-10-10 09:24:09 +02:00
Umherirrender ae56e2ea18 build: Remove explicit install of eslint-plugin-no-jquery package
The version is managed by eslint-config-wikimedia package

Change-Id: Ie1ce12db13d77f2a25844f8b329cbf4a3c13a7e6
2024-10-09 21:30:17 +02:00