Commit graph

4330 commits

Author SHA1 Message Date
bwang d977c8d940 Update personal tools for temp users, add icon for temp users
Bug: T335546
Change-Id: I56315440016cde3aad051b37895f713fbb5dd239
2023-06-20 13:19:55 -05:00
Translation updater bot 37d7555ebe Localisation updates from https://translatewiki.net.
Change-Id: I49ce3b3abcbc0ecb5e4b179cb31d3401ef21fd63
2023-06-20 09:52:13 +02:00
Translation updater bot c5a826b42e Localisation updates from https://translatewiki.net.
Change-Id: If016c581196b9f84a356a47bdf06d7578a32bcc1
2023-06-19 11:10:24 +02:00
Daimona Eaytoy af8e939c41 Update ambox styles so that they also work on divs
This rule was assuming that the ambox is always a table, but that may
not be the case; for instance, it might be a div (using CSS for layout).

So update the selector to target the new mbox-text, in addition to td
elements.

Bug: T339040
Change-Id: I7611e0de92afc4aef5bf56beb52de3f92e6b30c7
2023-06-18 12:08:40 +00:00
Jon Robson ae57e6b7df Enable interface-temp-user-banner styles on Minerva skin
Depends-On: I1e137dbd29f3c73efac901f43f8a8258e2a111fc
Bug: T330510
Change-Id: I9ab262dc4e1d7cd2377a00b2c5f2ae10ddfab3fe
2023-06-16 17:45:42 +00:00
Jon Robson 868120946b Prompt IP masked users to login/create account when watchstar clicked
Bug: T330518
Change-Id: I08c4f10216be0d020772a600d490e29465ce2689
2023-06-14 23:39:46 +00:00
jenkins-bot 33b2b037a7 Merge "Style thumbs in places that don't set a content language" 2023-06-14 22:10:48 +00:00
jenkins-bot d788840ed4 Merge "build: Update linters" 2023-06-14 21:49:40 +00:00
Arlo Breault 9e02cb7713 Style thumbs in places that don't set a content language
Bug: T337804
Depends-On: I23a2c4f812c57cbd7801c4d5aae84ca4d696d542
Change-Id: I0b58fd5a9957226ac1842a45885ee758efe43cb9
2023-06-14 16:08:23 -04:00
Translation updater bot be87037796 Localisation updates from https://translatewiki.net.
Change-Id: I8bdea58c19b321a5c3d7fc6dae9819dc6cab0587
2023-06-14 13:11:07 +02:00
Ed Sanders d09600aa51 build: Update linters
Change-Id: Iaa1c41ab1af4802fd71896b471eda8dd8852a323
2023-06-13 13:56:14 +01:00
jenkins-bot 1492d14e89 Merge "Fixes: Sandbox link should not show in main menu" 2023-06-12 15:47:26 +00:00
Jon Robson ffbcf9e2eb Fixes: Sandbox link should not show in main menu
This was inadvertently added in
I3c08e804cbb778f025f45a184801cd7b1738c035 and is without
an icon.

Bug: T336838
Change-Id: Ie6a588297a586328faee514074e096e78989547d
2023-06-12 15:21:23 +00:00
Translation updater bot e55ef45f08 Localisation updates from https://translatewiki.net.
Change-Id: I4c4105ea1f5c79936cfaad03721752bd0a83fa2d
2023-06-12 13:10:20 +02:00
jenkins-bot 26521c84c2 Merge "Create HookRunner class and the hook handler interface" 2023-06-09 23:35:39 +00:00
Jon Robson 567dd022ae Move to exclude list rather than include list
Follow up to 13d536a26

The current behaviour is unexpected and led to T336838. It also
seems like at some point the instrumentation for these menu items
also broke.

Going forward it would be easier to simply show any menu item which has
an icon. Also make sure that all menu items have a data-event-name
attribute so clicks to these menu items are captured.

Fixes:
* Contribute link is now not shown for anonymous users
as it was before

Changes:
* Ordering of menu items changes - settings is now below username
which is consistent with user
* All menu items are now tracked via event names consistent with
desktop.

Bug: T321746
Bug: T336838
Change-Id: I3c08e804cbb778f025f45a184801cd7b1738c035
2023-06-09 23:06:39 +00:00
Jdlrobson d973a1642f Revert "Add custom styles for temporary user links"
This reverts commit 52273510fe.

Reason for revert: Web team is trying to limit the amount of differences between Minerva and Vector codebases, using shared styles
in core where-ever possible. Since this rule is already defined in core, we should load it from there. This requires a slight change to
the loading mechanism, which I've marked as a dependency.

Change-Id: Id31a6b24bdd4f745e194d77cf7b97faf6ae7e6de
Depends-On: I11c54b58873523f7b72cca67b82efdd681562508
2023-06-09 22:16:42 +00:00
Umherirrender 903034de23 Create HookRunner class and the hook handler interface
Bug: T315823
Change-Id: I09c45ed939e103e6edb3a76623687574dcf0206f
2023-06-09 22:19:59 +02:00
Daimona Eaytoy 1898a3ccab Replace deprecated MWException
And more generally remove `@throws` comment used for unchecked
exceptions, callers must not catch them.

Bug: T328220
Bug: T240672
Change-Id: I4768144d02feb6d4b6bae1a1ad39af6031f9613f
2023-06-08 17:16:36 +02:00
Translation updater bot c480472a43 Localisation updates from https://translatewiki.net.
Change-Id: I57e36289774c319e22e797dded2b8cec461f0ba1
2023-06-08 10:43:35 +02:00
Translation updater bot c7238eda44 Localisation updates from https://translatewiki.net.
Change-Id: If0da8aa94675fcc512d296322d412e3660d7f7f0
2023-06-05 08:43:42 +02:00
Translation updater bot 2bb554f1ea Localisation updates from https://translatewiki.net.
Change-Id: Id9f352e7ed1c175ef5c198f73849ccd7921e3c47
2023-06-01 08:46:05 +02:00
Translation updater bot 93d173086c Localisation updates from https://translatewiki.net.
Change-Id: I4ca891269bb8d7c123e00dfdeb6ad511581c46d9
2023-05-31 08:22:47 +02:00
Translation updater bot 2b065d5a0a Localisation updates from https://translatewiki.net.
Change-Id: I2e4f25e036a60b466c03e621161ce708912b424a
2023-05-30 08:58:36 +02:00
jenkins-bot 722e453c28 Merge "Revert "styles: Apply Codex z-index tokens"" 2023-05-29 22:11:07 +00:00
Translation updater bot a3d46d3a44 Localisation updates from https://translatewiki.net.
Change-Id: I7b3dfd8a86641923cec2d06bd6d6d5fe0f596362
2023-05-29 10:02:27 +02:00
Jdrewniak cc513b9e72 Revert "styles: Apply Codex z-index tokens"
This reverts commit b28b80e222.

Reason for revert: Changes broke dialogs in mobile VE.

Change-Id: I957661a882b1d8aa50cede906631d29f4a51e530
2023-05-26 15:29:03 +00:00
jenkins-bot acc6286ecd Merge "styles: Apply Codex z-index tokens" 2023-05-25 16:17:49 +00:00
jenkins-bot a71206be6e Merge "Make use of mw-file-element class" 2023-05-25 15:13:44 +00:00
Arlo Breault a59bf8066e Make use of mw-file-element class
Added to core in Ifd4001e312a5fa4b7beaad63ba8c4e79e3201b9b

Applies the border more generally.

Bug: T314097
Change-Id: I884010c6b84b2dcb4dfc55f7b4cab9fefd3f6786
2023-05-25 10:33:14 -04:00
Santhosh Thottingal 13d536a26d
Show Contribute menu item in main menu when Special:Contribute is enabled
Bug: T336838
Change-Id: I32662dcb244a019bc8878c8b98f46370d4156eda
2023-05-25 13:27:39 +05:30
Translation updater bot ca96d4ed1e Localisation updates from https://translatewiki.net.
Change-Id: I4e366b75b004c808ae11e2eb941aec8b3711f30e
2023-05-25 09:13:58 +02:00
Translation updater bot 31e4a207ff Localisation updates from https://translatewiki.net.
Change-Id: I35a493a7df83d385ab78c7ec118627e0828a7c8c
2023-05-22 08:49:27 +02:00
Umherirrender 32c1ebd3cc tests: Make PHPUnit data provider static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Ie3edbdce0d5eae5b09236675469f32719cee558d
2023-05-20 10:58:18 +02:00
Translation updater bot 8510f345d9 Localisation updates from https://translatewiki.net.
Change-Id: I984057d380a428b9abb6bc3e3a31f7ab8c48a87c
2023-05-19 10:45:13 +02:00
Volker E b28b80e222 styles: Apply Codex z-index tokens
Applying central Codex design tokens in new architecture.
This replaces all existing MN `z-index` tokens and comments on
replacement choice.

Bug: T285592
Change-Id: I23d794566898946a500c10713802d8dfaad993d1
2023-05-18 23:33:38 -07:00
jenkins-bot 7ffe50b5ce Merge "jquery.cookie is deprecated" 2023-05-17 19:55:27 +00:00
Translation updater bot b2494a169a Localisation updates from https://translatewiki.net.
Change-Id: I9b59231fa3dee458e9513469a204a4a0c0e94ffb
2023-05-17 08:51:10 +02:00
jenkins-bot ede808475d Merge "build: Updating eslint-config-wikimedia to 0.25.0" 2023-05-16 09:47:48 +00:00
Umherirrender b24107fbcf build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I3280de17d1dbd2da5980ea87cf29f420a99b457b
2023-05-16 00:02:49 +02:00
Jon Robson b0b30f3f87 jquery.cookie is deprecated
Bug: T271995
Change-Id: I5750707cdd630de4c79784125ed7e6dc17079898
2023-05-15 14:07:28 -07:00
Translation updater bot 7dee7f2e56 Localisation updates from https://translatewiki.net.
Change-Id: Icbf4c863238a9c2b8a2f79305e662e8dba36719c
2023-05-15 08:36:26 +02:00
Translation updater bot 8730c214f9 Localisation updates from https://translatewiki.net.
Change-Id: I2accd588365059ccf9941728902acafe85e19fd3
2023-05-10 08:44:07 +02:00
Translation updater bot 522daea0ef Localisation updates from https://translatewiki.net.
Change-Id: Ic0b9d29a52a9d33ee1c572bd2b53ff1d142d25d9
2023-05-08 10:36:33 +02:00
Umherirrender 8c12e8b6dd Replace deprecated Hooks::run
Bug: T335536
Change-Id: I94280162586373a9399b3ec1b16ab9963e2d7945
2023-05-06 22:53:47 +02:00
jenkins-bot 9a529c3652 Merge "Improve styles for mw.notify and post-edit messages" 2023-05-05 16:14:15 +00:00
jenkins-bot d5529a2252 Merge "Standardize user overflow menu" 2023-05-05 12:30:25 +00:00
Volker E a44c3a0652 styles: Use appropriate tag marker @border-radius-pill token
Have falsely used the circle token for this, as it was using the
same height and I thought it's a circular shape. Pill is the right one.

Bug: T335932
Change-Id: I069d3a259993e01310586732829708f1a4f8b547
2023-05-05 02:37:49 -07:00
Translation updater bot 0dab6652e8 Localisation updates from https://translatewiki.net.
Change-Id: Ie7cdda10cbbb93b3cd44c392bd72f22342f47396
2023-05-05 10:46:13 +02:00
Bartosz Dziewoński 75751e5512 Improve styles for mw.notify and post-edit messages
* Allow multiple notifications to be visible at the same time without
  overlapping
* Don't allow notifications to cover the entire screen
* Fix icon placement in post-edit notifications

Bug: T336001
Change-Id: I7b76b0f97bc4b5ca85f4b47bd27ae7568bcbe353
2023-05-04 21:54:24 +02:00