Commit graph

4740 commits

Author SHA1 Message Date
Volker E 8a369066ae styles: Replace local var with Codex design token
This replaces the local variable for line-height with the design token
of same value.

Bug: T331403
Change-Id: I08a5edfc355f36a16e780912af6945b2c4f50252
2023-06-08 14:55:18 -05:00
Translation updater bot c7c2335d82 Localisation updates from https://translatewiki.net.
Change-Id: If984da7a16a112732b0e5711168b870276177287
2023-06-08 10:43:36 +02:00
Func be39b2eb6e SkinVector22: Avoid double-escaping on language selector label
text() should be used as above.

Bug: T327802
Change-Id: I4f809a49db39e2678849fa6c4adb8a31ac0619f1
2023-06-07 01:16:03 +08:00
Translation updater bot 5255835465 Localisation updates from https://translatewiki.net.
Change-Id: I59cd913d0ea90fc13665b2b40eb196e36cc4816c
2023-06-06 08:13:12 +02:00
jenkins-bot 685d261647 Merge "Use jQuery fake events for sticky header edit buttons" 2023-06-05 20:52:14 +00:00
Ed Sanders a1cdf551b5 Use jQuery fake events for sticky header edit buttons
The native ones do not trigger the VE code.

Partially reverts I5f4464e5bfa.

Bug: T336639
Change-Id: Ie088ddb7f73a2ed0b3b830fc28336d93e41c4ce5
2023-06-05 14:52:01 +01:00
Translation updater bot 8c6c3bbb57 Localisation updates from https://translatewiki.net.
Change-Id: I7d7046a40e8656292182387dc6ff6ca5d69c867b
2023-06-05 08:43:43 +02:00
jenkins-bot 06b8278b50 Merge "mediawiki.less: Remove non-standard value for @max-width-breakpoint-tablet" 2023-06-02 18:20:15 +00:00
Translation updater bot 83ecf7da5e Localisation updates from https://translatewiki.net.
Change-Id: If4d028b464a73f018141ce99c4b834029f25c865
2023-06-02 09:27:11 +02:00
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
Func 8457b64a83 languageButton: Use click method instead of dispatchEvent
For pages with interlanguage links, this link has no event listener
and only functions as a plain link to the corresponding Wikidata page.

Bug: T336931
Change-Id: I8c1456b3c524824ccc59aee5f999c8017c59fc0b
2023-06-01 02:27:24 +08:00
Translation updater bot 3fae89e967 Localisation updates from https://translatewiki.net.
Change-Id: Ia76360780233cba4868b3c7857a82361f2080f9d
2023-05-31 08:22:48 +02:00
Roan Kattouw b331894261 mediawiki.less: Remove non-standard value for @max-width-breakpoint-tablet
This changes the value substantially, from 719px to 1119px. There is
only one usage of this variable, which is updated in
Iac1697a5ba899901f203652e2356a96d34c991be.

Depends-On: Iac1697a5ba899901f203652e2356a96d34c991be
Change-Id: I837a7fc7f5c21d88a3211dd054a62f7ea3f4b943
2023-05-30 16:37:18 -07: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
Volker E 3afbbce707 styles: Remove local var covered by mediawiki.skin.variables.less
Available since Codex v0.11.0 in I9db6eff7.

Change-Id: I9bf6c5ad74dcf7a6aea847d5758afba1a1cfb67a
2023-05-23 17:04:28 -07: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