Commit graph

5455 commits

Author SHA1 Message Date
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
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