Commit graph

3873 commits

Author SHA1 Message Date
Jon Robson 484cd5912a Fixes page issue icon
The page issue icon show on enwiki:Spain is absent.
Opportunistic bug fix while here.

Bug: T340910
Bug: T340262
Change-Id: I1eb62e462c1e83adc8daea5667c8f9052dddc54f
2023-07-28 19:52:12 +00:00
Translation updater bot 6b7a061cc3 Localisation updates from https://translatewiki.net.
Change-Id: I38cda648c1b1fbe4dab20a972c15ef48fc032c82
2023-07-28 09:26:07 +02:00
Jon Robson 6dad2802f3 Handle icon only labels with Codex in Minerva
In Minerva icon only buttons reveal themselves at desktop
resolution, except for any buttons in the header.

Bug: T340262
Change-Id: Iba6c633164a615b96bf19d5fe8f202b925bcace9
2023-07-27 23:23:44 +00:00
jenkins-bot 31d959ea73 Merge "Ensure space between download icon and text" 2023-07-27 20:15:08 +00:00
Jon Robson 0e60da8e1f Ensure space between download icon and text
Previously the rule .mw-ui-icon + span:not(:empty)
provided the margin (see mediawiki ui skinStyle) - with the refactor
of the spinner this no longer works

Follow up to I186e3d22aa9c2b331a80d35514d578949a4b9e86

Bug: T340262
Change-Id: I92446d361da9a84e27f81d9ff8d5053d96ead61c
2023-07-27 14:43:14 -05:00
Thalia 53b524fbd3 DefaultMainMenuBuilder: Use UserIdentityUtils for temporary user check
Use instead of UserNameUtils, which has more dependencies.

Change-Id: I32ca33acf2511048a8c307c20a1f1a73c9fc3cf4
2023-07-27 18:02:36 +00:00
jenkins-bot e2eaf89826 Merge "Disable flakey test" 2023-07-27 18:02:14 +00:00
Jon Robson be398f8a29 Disable flakey test
Noticed this today.

Apparently was reported a long time ago so let's disable this for
now.

Bug: T334634
Change-Id: Id46a8a7d4b9a22ed5d1bd5df5d5f9b03df1f72b0
2023-07-27 09:45:57 -07:00
Translation updater bot b6c3675604 Localisation updates from https://translatewiki.net.
Change-Id: Ie5dfa6f96b53a366da011eb60108be5e6f3babee
2023-07-27 10:51:41 +02:00
Translation updater bot 6f0ffcbe7a Localisation updates from https://translatewiki.net.
Change-Id: Iebe6b2e949378634aa053ee5138f96db366c3579
2023-07-26 10:29:23 +02:00
jenkins-bot ceda052444 Merge "Add "edit full page" to the minerva overflow menu" 2023-07-25 19:24:59 +00:00
jenkins-bot 8a2aff6fd7 Merge "[Icons] Update usage of MobileFrontend Icon code" 2023-07-25 18:11:13 +00:00
bwang 6635693826 [Icons] Update usage of MobileFrontend Icon code
Visual change:
* Improves vertical alignment of TOC

Technical change:
* Remove dependency on MobileFrontend

Bug: T319260
Change-Id: I0526293c6a99dfe078b9e32aa247522a63b6d0fd
2023-07-25 17:55:02 +00:00
Volker E e3f0eda1a3 build: Update SVGO to v3.0.2
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.

Bug: T339162
Change-Id: I6889eb9898c664a42c398ba810f5402f11b03fcf
2023-07-25 00:31:36 +00:00
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