Commit graph

4459 commits

Author SHA1 Message Date
Translation updater bot c50d87484d Localisation updates from https://translatewiki.net.
Change-Id: I19cf5c7f9ef85a1241e47aa896ed2e57bb235151
2023-07-24 09:43:34 +02:00
David Lynch 956baf5b55 Add "edit full page" to the minerva overflow menu
Bug: T203151
Change-Id: I2777a8346ab672ce2b4fcf37b19fd12ab5541224
2023-07-21 20:00:15 -05:00
Jon Robson d7fe495de6 Add temporary user icon
Bug: T340789
Change-Id: I304e8e419095a0acd7175e6eb79ecedda9b57e87
2023-07-21 18:23:55 +00:00
Translation updater bot 2b74fd0afc Localisation updates from https://translatewiki.net.
Change-Id: Ib2b3d0b0f94d271ec2fbf35bb095b1c616eb3040
2023-07-19 09:04:09 +02:00
SnowFire e3515afdf0 Add margin top/bottom to dl list style to match other skins
Bug: T341915
Change-Id: I520e1bcf5010646b0032f85cc080b37c25744a0e
2023-07-18 17:37:05 +00:00
Daimona Eaytoy 731c0b5703 Avoid accessing the database in SkinUserPageHelperTest
TestUser's are created for real in the test database, but this test
doesn't need that, especially because it's not in the Database group.

Change-Id: I8261b7e8130f0698df4f1684da767f312504c307
2023-07-17 18:11:32 +00:00
Daimona Eaytoy e9e3095a10 Convert MinervaPagePermissions to Authority
Move away from User, and use Authority instead. The only exception is
isBlockedFrom, which still requires a User object, so inject a
UserFactory for that.

Simplify the test accordingly, and also remove implicit assumptions as
to what certain user groups are or aren't allowed to do (e.g., watch
pages).

Also avoid using TestUser as it needs a DB connection.

Change-Id: Idfff8fd00f7b01df1dc6ec509dfc0cbd10ce7ce0
2023-07-17 20:11:23 +02:00
Translation updater bot efea0d2c0c Localisation updates from https://translatewiki.net.
Change-Id: Id9c47dcfd6f88b826979281fc90b239df6e062f5
2023-07-17 10:21:43 +02:00
Translation updater bot 113fc28c38 Localisation updates from https://translatewiki.net.
Change-Id: I844ae3e5dba46cf64cdd8a6442fb21d69aa55fb2
2023-07-14 09:41:35 +02:00
Translation updater bot baa4a184c4 Localisation updates from https://translatewiki.net.
Change-Id: If786d688257d3d3b4891c75042c8c09c23139db4
2023-07-13 10:52:29 +02:00
Translation updater bot f7f373893e Localisation updates from https://translatewiki.net.
Change-Id: Ia55cf8143d745ce0d436342c72aa89cb1c9a9ce4
2023-07-11 08:52:22 +02:00
Saint Johann a30edb1451 Do not hide placeholders in UserLogin form in Minerva skin
Some of the other styles in this file should probably also be revisited, but that is out of scope for the task.

Bug: T285398
Bug: T341360
Change-Id: I80d915d2aedc57bcb634816d761d09853cd3b715
2023-07-10 20:45:56 +00:00
MusikAnimal c8ce92140e DefaultOverflowBuilder: allow CSS class names to be applied to entries
Use the SingleMenuEntry constructor rather than the static create
method so that items can not only supply class names, but also with
array to string normalization.

This is useful so that extensions can add links with JS interaction,
such as with Ib3fe1063187

Bug: T242467
Change-Id: Ice909aab7f9ce49f36a954ac1bfce5eef14d30fc
2023-07-10 11:55:27 +00:00
Translation updater bot cf4592c022 Localisation updates from https://translatewiki.net.
Change-Id: I0f3ae82445910222db5819954d27608652c0aba8
2023-07-10 09:42:01 +02:00
MusikAnimal a44b577531 extension.json: add qrCode icon to overflow.icons
Bug: T339839
Bug: T242467
Depends-On: Ia845a593cef68e4456d50c6ef213bf9255507eef
Change-Id: I453fe5ec3c92605837459ebc308a118d1389856e
2023-07-06 18:59:00 +00:00
Translation updater bot 59b4cb2397 Localisation updates from https://translatewiki.net.
Change-Id: Icfdaab88ac3b1b165ed2c6305cdfe7588981a788
2023-07-06 10:19:48 +02:00
Translation updater bot 9b99eda4a6 Localisation updates from https://translatewiki.net.
Change-Id: I94fe2797a8601b3c975994b156bfbef6fea7d0e1
2023-07-05 08:33:57 +02:00
Translation updater bot 50df12cc37 Localisation updates from https://translatewiki.net.
Change-Id: Iafc3278922c47bcc0c4a1fd6bcdd7af8cfc06c5a
2023-07-04 09:24:59 +02:00
Translation updater bot b97252ca71 Localisation updates from https://translatewiki.net.
Change-Id: I928559f42a0edfffcc079645b212ecf004b28083
2023-07-03 10:20:05 +02:00
thiemowmde cea344c168 MinervaUI: Remove unused code
Same as Ie1c2e93 in MobileFrontend.

Change-Id: I6508f5882609a0f528bcfa0eb66a5ddcb5e1b8b7
2023-06-30 09:05:45 +02:00
Jan Drewniak bc7fcdc437 Remove "interface-temp-user-banner" option
In MediaWiki core change Ie2631221b0a07dd3bf55e970805d30fbb3cac190
the interface-temp-user-banner option is removed.

Bug: T339379
Change-Id: Icf622c4be910f5d14de95355efa02c05930179bf
2023-06-29 19:11:47 -04:00
Translation updater bot f2720daa3d Localisation updates from https://translatewiki.net.
Change-Id: Ifc82f2ad9bc86af46d981db3d0ab68eaca3fd2fa
2023-06-28 17:34:26 +02:00
Translation updater bot a6b82f2e90 Localisation updates from https://translatewiki.net.
Change-Id: I1b3cd81305ad77bbdf86853a6f1fc9b892de171a
2023-06-27 19:30:48 +02:00
jenkins-bot c4264898eb Merge "Remove mediawiki.ui.anchor dependency" 2023-06-26 23:03:30 +00:00
Translation updater bot 8fc894d300 Localisation updates from https://translatewiki.net.
Change-Id: I22d9918a57015730be8403c6997df52ac3c16f83
2023-06-26 12:44:28 +02:00
Jon Robson 8c9e09b446 Remove mediawiki.ui.anchor dependency
Module is deprecated. MobileFrontend now updated to use Codex
link component.

Depends-On: I1d165ac37c8becbf0f044a4fc101ade373762b32
Bug: T235961
Change-Id: Id88f19efe65e89e6b955e2f306c05f56e141edf7
2023-06-23 19:29:41 +00:00
Translation updater bot 7adfd44d26 Localisation updates from https://translatewiki.net.
Change-Id: I302055b4bcec68262713eecd1cbee7bb3215dd2c
2023-06-23 09:51:41 +02:00
jenkins-bot c45fd3aee0 Merge "Update ambox styles so that they also work on divs" 2023-06-21 01:17:17 +00:00
jenkins-bot edc0af19a4 Merge "Update personal tools for temp users, add icon for temp users" 2023-06-20 19:13:10 +00:00
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