Commit graph

4378 commits

Author SHA1 Message Date
Ed Sanders fe6720c7f8 Remove config and AB test code for edit buttons in sticky header
Bug: T337955
Change-Id: I8ebeeca1712e335d886faa498849fcb3f7f6e1ab
2023-06-01 18:00:07 +01:00
Translation updater bot d3e1001851 Localisation updates from https://translatewiki.net.
Change-Id: I696a23379d7aac91a80742744ef4d93d92d08826
2023-06-01 08:46:07 +02:00
Translation updater bot 3fae89e967 Localisation updates from https://translatewiki.net.
Change-Id: Ia76360780233cba4868b3c7857a82361f2080f9d
2023-05-31 08:22:48 +02:00
Translation updater bot 9619078e0f Localisation updates from https://translatewiki.net.
Change-Id: I7b277e76d864222164def3272882b7ede5aac3b2
2023-05-30 08:58:37 +02:00
jenkins-bot e7408d6616 Merge "Move LimitedWidthToggle styles to skin.vector.styles" 2023-05-29 16:06:51 +00:00
Translation updater bot f16a790a6c Localisation updates from https://translatewiki.net.
Change-Id: I3726281a960aab5d32edec8a5c5488471d35467a
2023-05-29 10:02:29 +02:00
jaydenb 679eb9f5e5
Move LimitedWidthToggle styles to skin.vector.styles
This allows the styles to be applied on browsers without JS support, notably the rule that hides the button.

Bug: T337580
Change-Id: I604d0c6362e2c424c38cbf5b798a5ac619bd70cf
2023-05-27 18:11:04 +01:00
bwang 197e4f45ed Remove limited toggle notification on page load
Also removes VectorLimitedWidthIndicator config

Bug: T336197
Change-Id: I6005c0cf4933647d5dda3df2c95650aca3fde5cd
2023-05-26 09:52:08 +00:00
jaydenb 077fa408c7 Increase menu tab borders to 2px
Bug: T319089
Change-Id: I03bae97b9b80f33cc13732b1ea96cd0f357e015c
2023-05-26 08:45:01 +00:00
Jon Robson 54653554fc Tipsy has been removed from MediaWiki core
Bug: T282547
Change-Id: Ibb7a9e834ef5c8a9bb3fd819f00aa92c1efbfb77
2023-05-26 10:19:15 +03:00
Translation updater bot d40e1c1c0d Localisation updates from https://translatewiki.net.
Change-Id: I4012f6c5e942f45999b54376dab757f5e22e2b8e
2023-05-26 08:32:34 +02:00
jenkins-bot a2c9911d6f Merge "Ensure echo notifications counter is always visible" 2023-05-25 19:36:51 +00:00
Jon Robson 484b3cbee0 Use document feature classes to extract A/B test state
Bug: T335972
Change-Id: Ic0c04dfd022d0cd4141d2498d38ff1de67ad004c
2023-05-25 19:05:38 +00:00
Jon Robson 7c29c5ff03 Revert "Override mw.experiments.getBucket() via body classes"
This reverts commit b599da4153.

Change-Id: I977b352ee71faa25c3921205025ba326e05a0f9b
2023-05-25 21:38:48 +03:00
bwang 9667d1e8a9 Ensure echo notifications counter is always visible
Bug: T336543
Change-Id: I736d76f815dcf8811a1a6d8d5aaf117d2b7c9581
2023-05-25 11:46:44 -05:00
jenkins-bot cc570fe280 Merge "styles: Remove unneeded property" 2023-05-25 15:12:00 +00:00
Translation updater bot 7ae44a7ca6 Localisation updates from https://translatewiki.net.
Change-Id: Ie5daa3bba786004fde666452a0bf96ba0ba0617e
2023-05-25 09:14:00 +02:00
Jan Drewniak b599da4153 Override mw.experiments.getBucket() via body classes
When AB bucketing via ABRequirements.php in Vector,
the browser has no awareness of this bucketing and buckets users
once more via mw.experiments.getBucket() in AB.js.

mw.experiments uses a different algorithm than ABRequirements.php,
causing a mismatch between the server-side bucketing
and the client-side bucketing.

This patch overrides that client-side bucketing by
adding classes to the HTML element that are recognized
by AB.js

Bug: T335972
Change-Id: I0549a8dee23ebe7cd68465f8403e4f7aac76633e
2023-05-24 18:21:30 -04:00
libraryupgrader a38229cc7f build: Updating npm dependencies
* @wikimedia/codex: 0.10.0 → 0.11.0
* @wikimedia/codex-icons: 0.10.0 → 0.11.0
* @wikimedia/codex-search: 0.10.0 → 0.11.0

Change-Id: I93e9cff2a0c1f79477ab524abd0c2dd52a8fca00
2023-05-24 02:44:25 +00:00
jenkins-bot 4b70632f3c Merge "Remove centraluserid dependency in ABRequirement.php" 2023-05-23 15:21:31 +00:00
ksarabia 9fbed3eb7f Remove centraluserid dependency in ABRequirement.php
Removes centraluserid and replaces it with local user id.

Bug: T336969
Change-Id: I5abedf62fb92cb08fbcaf09f6d19ab45fcfc9819
2023-05-23 15:03:59 +00:00
Translation updater bot ae0da2a830 Localisation updates from https://translatewiki.net.
Change-Id: Ib9d76f694c5ef559c4ed267c629b8efc2309bf2a
2023-05-23 08:24:30 +02:00
Volker E 18e277719b styles: Remove unneeded property
Doesn't seem to be needed here. Personal tools menu isn't even a
dropdown in legacy Vector.

Change-Id: I89bb2e66ea1b4eff8d7df025806a96e3d83e5b98
2023-05-22 23:01:46 -07:00
jenkins-bot 425a7a5024 Merge "styles: Apply Codex z-index tokens" 2023-05-22 16:46:01 +00:00
Translation updater bot a60b94616e Localisation updates from https://translatewiki.net.
Change-Id: I9083a4ec10e4c85c527e86af229c78238768a4bf
2023-05-22 08:49:30 +02:00
jenkins-bot ef47d485d7 Merge "Cleanup skin.json and ToC template" 2023-05-21 10:04:36 +00:00
Umherirrender 0583639a6a tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Ia03ad50ac5d34e9c012a8fad068adabd2e5d8669
2023-05-20 11:11:30 +02:00
jenkins-bot 4f4b1688cb Merge "Fix CSS causing multiple TOC landmarks to be present" 2023-05-19 14:56:10 +00:00
Translation updater bot 0c498ecef5 Localisation updates from https://translatewiki.net.
Change-Id: Idde991050a5631808e2ae01699f7708752d6b15d
2023-05-19 10:45:16 +02:00
Translation updater bot 242f3d3135 Localisation updates from https://translatewiki.net.
Change-Id: If7806092df3f29fbde5513afd4785527f342d6da
2023-05-18 10:14:35 +02:00
jenkins-bot d762746aee Merge "Revert "[VISUAL CHANGE] User links menu is incorrect font size"" 2023-05-17 20:44:33 +00:00
Func 8c578a984e Cleanup skin.json and ToC template
The ConfigRegistry was removed as unused but somehow reintroduced
mistakenly in the commit 80b60c15.

The fallback to anchor for old parser cache should be good to drop.

Change-Id: I0b6effd0fd4c535298fa280da734b13d26a5d968
2023-05-17 22:15:37 +08:00
Translation updater bot 7a2d3e48c8 Localisation updates from https://translatewiki.net.
Change-Id: I4cfbcfdcadc2871e142d19a3c50de788f3ac3191
2023-05-17 08:51:11 +02:00
Jdlrobson 9bb3a003d7 Revert "[VISUAL CHANGE] User links menu is incorrect font size"
This reverts commit 4ef136e7e6.

Reason for revert: This is made obsolete by
Iec3fc67c498d230ae7c0dc0ba4316006ccd9626a when wmf/1.41.0-wmf.8
has been cut.

Change-Id: I1d6c737b6a2d9fa2d123d29a1e0ab740a854c9e5
2023-05-17 00:26:42 +00:00
jenkins-bot 03afa9091e Merge "Consolidate watchstar icon updating logic under watchstar.js" 2023-05-16 18:55:39 +00:00
jenkins-bot 23fae349db Merge "Ensure mw-watchlink is used for the sticky header watchlink" 2023-05-16 18:54:13 +00:00
bwang 27e821a486 Consolidate watchstar icon updating logic under watchstar.js
Depends-on: Ib11177df52d46ecda2ace50ac78672ed3d5fd5c9
Bug: T336640
Bug: T336641
Change-Id: If2573409cd1af4580f89b33c32cd0441e7a80735
2023-05-16 13:18:47 -05:00
bwang 440843d84c Ensure mw-watchlink is used for the sticky header watchlink
Bug: T336640
Bug: T336641
Change-Id: I9b00a35feb4b100703e7f8126ccc8a2ef7234532
2023-05-16 12:34:56 -05:00
Volker E 6865b7e7f4 styles: Apply Codex z-index tokens
Applying central Codex design tokens in new architecture.
This should already show the working principle of the new architecture.
Replacing `@z-index-menu` by `z-index-dropdown`.
Note this is also removing obsolete `@z-index-sidebar-button`.

Bug: T285592
Change-Id: I9ab1137241c9e1e7baffff9e07400bc2fc07d943
2023-05-15 17:34:36 -07:00
jenkins-bot 784fa9a135 Merge "Update bundle size to make room for source map links" 2023-05-15 15:10:33 +00:00
Translation updater bot 0d0b1868cf Localisation updates from https://translatewiki.net.
Change-Id: I174d45a398aaf5d0c805099e9167cad4a9a6578d
2023-05-15 08:36:33 +02:00
Tim Starling f8776e9974 Update bundle size to make room for source map links
Bug: T47514
Change-Id: I121a004360e0c17ccea0a48debd52f5fceef24d4
2023-05-15 14:18:31 +10:00
bwang 256cedbc63 [Visual change] Limit link spacing in user links
Limit it to below desktop viewports

Bug: T323244
Change-Id: I43ccf6db47e1723c953fbbec38eca7c95053ba70
2023-05-12 19:27:17 +00:00
jenkins-bot 825716571f Merge "Revert "Remove extra spacing from username/create account link"" 2023-05-12 15:42:40 +00:00
Jdlrobson 4e16323ae3 Revert "Remove extra spacing from username/create account link"
This reverts commit b6603a591f.

Reason for revert: Causes the login and create account to be flushed
together (will add screenshot on ticket)

Change-Id: Ib25f21e85eb9984dfa9fcf50a50198c5d2ba7bed
2023-05-12 15:24:30 +00:00
libraryupgrader 87eb3f813c build: Updating npm dependencies
* @wikimedia/codex: 0.9.1 → 0.10.0
* @wikimedia/codex-icons: 0.9.1 → 0.10.0
* @wikimedia/codex-search: 0.9.1 → 0.10.0

Change-Id: I8f150068ae65fd280c2d71931c67b4d59987242d
2023-05-12 12:15:45 +00:00
jenkins-bot 2c87cdc8f8 Merge "Remove extra spacing from username/create account link" 2023-05-11 23:00:57 +00:00
sushrith b6603a591f Remove extra spacing from username/create account link
Bug: T323244
Change-Id: Id0e8a9ffaec3389e75a2a9c3cb068649aff77543
2023-05-11 22:42:36 +00:00
Jon Robson 0acb55fc8e Run A/B test enrollment code for any A/B test
Currently the A/B test enrollment code is limited to the
sticky header experiment. Instead of doing that, always check it
inside skin.js and run it if necessary.

Now it's possible for this to run twice, keep track of whether
the init function has been called and make sure it doesn't get called
more than once.

Bug: T335309
Change-Id: Icfef13b019319d07686a06e06846789faf790ed6
2023-05-11 14:36:42 -07:00
Translation updater bot d487e629f5 Localisation updates from https://translatewiki.net.
Change-Id: I7f74a978264fa2a990e8d0e048e3ef7e55eca10a
2023-05-11 09:23:33 +02:00