Commit graph

2985 commits

Author SHA1 Message Date
jenkins-bot 7a6a66ed05 Merge "selenium: run tests concurrently" 2022-01-05 18:54:30 +00:00
jenkins-bot 2f61dfc242 Merge "Remove usage of SkinTemplate::injectLegacyMenusIntoPersonalTools()" 2022-01-05 17:51:59 +00:00
Antoine Musso 0fbb2a34f2 selenium: run tests concurrently
Wikimedia CI now serves MediaWiki over Apache (T285649) which mean we
can do concurrent requests!

Bug: T226869
Change-Id: Ifb155b7a14f5dd7b037578c83c9590f7901feacf
2022-01-05 16:44:12 +00:00
Ammarpad 7ea7ed162d Remove usage of SkinTemplate::injectLegacyMenusIntoPersonalTools()
Bug: T298214
Change-Id: I9dc4c565419b38b557c0f22202ce58641bd210cf
2022-01-05 10:05:05 +01:00
jenkins-bot 82126c0e2c Merge "Remove two unnecessary localization files" 2022-01-05 08:47:00 +00:00
jenkins-bot 9a9f3a72df Merge "Move the form element in Minerva's header and apply core checkbox hack consistently to toggle lists" 2022-01-04 22:16:04 +00:00
bwang 0bee6a1eb6 Move the form element in Minerva's header and apply core checkbox hack consistently to toggle lists
- Factors out Header and SearchBox partials

Bug: T294164
Depends-on: I16d1dfba1b6d0745afff14f1b79586bb17ecdd69
Change-Id: I997f3c2de5cf813db63220580e7cb3fe09aa6932
2022-01-04 11:01:17 -06:00
Translation updater bot 8ff3890c93 Localisation updates from https://translatewiki.net.
Change-Id: I52d7bde7514b759a30e8ef222500d7177a081b6d
2022-01-03 08:13:00 +01:00
Translation updater bot a88f63e584 Localisation updates from https://translatewiki.net.
Change-Id: I2bcb4d02cd6cba21bf772938bcfe2315645c62be
2021-12-31 09:43:15 +01:00
Translation updater bot 62c68e5908 Localisation updates from https://translatewiki.net.
Change-Id: I3514243feb90ac9831d4188a30cba788f12ddab1
2021-12-30 09:39:22 +01:00
Translation updater bot 5fcfe77864 Localisation updates from https://translatewiki.net.
Change-Id: I402b8155c454b45e17df5b3d5419f1fa02d17980
2021-12-27 09:33:06 +01:00
Translation updater bot 74e23dd583 Localisation updates from https://translatewiki.net.
Change-Id: I8bb6f256980137d917a9ff107ea1c0c1580bfc7d
2021-12-24 09:11:04 +01:00
Amir E. Aharoni a9d9572782 Remove two unnecessary localization files
All the translations in these two files were made by
blocked translatewiki users, so the correctness
is strongly suspect.

I noticed it when I was cleaning up things as
a follow-up to removing the welcome message in T265892.

Change-Id: I4849559303e5053164ddcdaeac1328003490d3bd
2021-12-23 10:48:59 +02:00
Translation updater bot a54bb5e14e Localisation updates from https://translatewiki.net.
Change-Id: I65dd96c0a640d88e176bd83e63877691b183db5e
2021-12-23 08:40:00 +01:00
jenkins-bot 3bb487b733 Merge "Minerva uses core page title handling" 2021-12-22 18:06:54 +00:00
bwang bcdfd66fa6 Use watchstar() instead of deprecated jQuery event to update watchstar classes
Depends-on: I88af8585e8fc75f77ebef867d267199aeb2c6592
Change-Id: I859c9d763e77bb06b5109d419fb581258f3bd665
2021-12-21 16:43:57 +00:00
Translation updater bot 2737d09ec2 Localisation updates from https://translatewiki.net.
Change-Id: Id3e18de503799587a52dc82cf2308d2f02060dc9
2021-12-21 08:13:30 +01:00
jenkins-bot 8ff17077a2 Merge "Remove some comments that literally repeat the code" 2021-12-20 20:05:32 +00:00
jdlrobson f9a8703a64 Minerva uses core page title handling
Bug: T265892
Change-Id: I2ffdedd64414ffb3c6e441391a75fd6e744847a4
2021-12-20 19:39:42 +00:00
Gagah Pangeran Rosfatiputra e49dd310e8 Make whole area of last edited section to be tappable
Now whole area of last edited section (from edge to edge) is tappable
and linked to history page.

Bug: T163853
Depends-Onː I3d1f272a27c5c9b0b0928b5c0eaeb3f6e270532b
Change-Id: I3c35bbaafea3376cd2f9dccfd13bfe4845fd6823
2021-12-20 16:31:42 +00:00
Translation updater bot 2ef8cee538 Localisation updates from https://translatewiki.net.
Change-Id: Ief2da52118ba7a2cb9370cf549602856d29a13b7
2021-12-20 08:23:32 +01:00
jenkins-bot 40c0ea62be Merge "Use PHPUnit shortcuts where possible" 2021-12-18 15:01:58 +00:00
jenkins-bot 5a7b9c9372 Merge "Remove unused class property initialization" 2021-12-18 15:01:20 +00:00
Thiemo Kreuz 31659edf3d Use more narrow UserIdentity interface where possible
There is still a lot of places that need either an Authority or still
an actual User object. This patch changes the usages that can be
changed right now (almost) without any codechange.

The only additional change is the removal of an unused constructor
argument.

Change-Id: I0fbb3c2cc4cea7fba135d92b04421b0563c0f0c8
2021-12-17 18:16:49 +01:00
Thiemo Kreuz 29b682fc09 Prefer UserIdentity interface methods over User where possible
isRegistered() is a method in the much more narrow UserIdentity
interface. This change makes it easier to move code away from the
problematic User "god" class in core.

Change-Id: I99cb72591f073568f84bd1fd436381f3f11f3140
2021-12-17 16:57:44 +00:00
Thiemo Kreuz 73c79aeb68 Remove unused class property initialization
It's guaranteed to be initialized in the constructor.

Change-Id: I7c39e5ca3a80b8f9279bdecc3a724f39d1f987e3
2021-12-17 11:31:44 +01:00
Thiemo Kreuz bb31754073 Use PHPUnit shortcuts where possible
This makes the tests a little easier to read, I would argue.
any() is the default anyway. It doesn't add new information to the
test.

Change-Id: If4655ddea494f1054538a760802b583e17c0108e
2021-12-17 11:29:48 +01:00
Thiemo Kreuz e565347cd4 Remove some comments that literally repeat the code
Change-Id: I3960735fa59f7d607659acd31167802ee769a519
2021-12-17 11:29:11 +01:00
Translation updater bot 1cf3de024f Localisation updates from https://translatewiki.net.
Change-Id: I37ef6573c75af9a6a9d17a47381bbc3c3dca6e84
2021-12-17 08:19:02 +01:00
Translation updater bot 5e7557ec80 Localisation updates from https://translatewiki.net.
Change-Id: Ia014953f6857b2f310453d171b02af22589982ef
2021-12-16 08:32:26 +01:00
jenkins-bot 1b9d92e17d Merge "Wrap the sitenotice with div element as other skins do" 2021-12-15 21:35:58 +00:00
jenkins-bot 5e7d835627 Merge "Add composer test:size as shortcut bundle size test" 2021-12-15 09:34:17 +00:00
jdlrobson 3e0d20e34f Donate link is disabled by default for 3rd parties
Bug: T191743
Change-Id: I2b57cd3fa270fab1385319f2cbd33e886ae33843
2021-12-14 22:23:43 +00:00
Translation updater bot acce7d63e7 Localisation updates from https://translatewiki.net.
Change-Id: I36d9b399fadf9176fbcf24c8cbb8a598ace059a7
2021-12-14 08:44:19 +01:00
Kosta Harlan c245636767 Add composer test:size as shortcut bundle size test
Change-Id: I3a1f246c57f3021659c23299e151389c0ae77f87
2021-12-13 11:46:47 -08:00
Translation updater bot 04757f0753 Localisation updates from https://translatewiki.net.
Change-Id: Ie54f5c1b31aadcefe871a5f53cf04a45e7d7b3a1
2021-12-13 08:24:26 +01:00
jenkins-bot 18380d21df Merge "Move bundlesize test to MediaWikiIntegration test" 2021-12-10 19:52:00 +00:00
Func b4b2f4ded3 Wrap the sitenotice with div element as other skins do
Change-Id: Ifea461636f9000527556dc2881f83f00be5bff76
2021-12-10 11:20:35 +00:00
Kosta Harlan d8c505c73a Move bundlesize test to MediaWikiIntegration test
Depends-On: Ieb7591f3c0ac843677a2a61b4ad47f920fc2ca2d
Bug: T255149
Change-Id: I311793952e995715010dc70069e1056165a1cd90
2021-12-10 08:43:51 +01:00
Translation updater bot 4f7a3c22ad Localisation updates from https://translatewiki.net.
Change-Id: Ieb3bf79a9e9aa5dbd123081f5bcffeeabc1e033a
2021-12-10 08:27:43 +01:00
Translation updater bot f864ac4918 Localisation updates from https://translatewiki.net.
Change-Id: I8129628cbdf8d4f6c4c175c1309963c8c31f219e
2021-12-09 08:24:43 +01:00
Translation updater bot 949c817bf2 Localisation updates from https://translatewiki.net.
Change-Id: I3c862934e31f7d57ab27f7d5faaf993ecc47e817
2021-12-07 08:13:46 +01:00
jenkins-bot 35eb71cbde Merge "Fix viewport overflow in RC/Watchlist editsummaries" 2021-12-06 22:42:33 +00:00
Derk-Jan Hartman a0bb9e41ee Fix viewport overflow in RC/Watchlist editsummaries
Set a max-width on this floated element

Bug: T297045
Change-Id: Ie33d7052eb1138cb98543c53410c1f376f3e0e64
2021-12-06 22:22:22 +00:00
jenkins-bot b85d073178 Merge "ServiceWiring: Add fallback for when title is null" 2021-12-06 20:01:54 +00:00
Kosta Harlan ed22536b44 ServiceWiring: Add fallback for when title is null
Services shouldn't rely on global state. The service should have a
method for setting the title manually, and callers to the service should
be updated to pass in the title (or other context items) as needed. As
is, this code causes the test for MediaWikiServicesTest.php to fail; it
appears to only pass in CI accidentally due to pollution of global state
from other tests that run before it.

Bug: T297068
Change-Id: I39c780d36583deb8b2edd7b12b425e949bd09cd1
2021-12-06 09:38:36 +01:00
Translation updater bot c206d213d9 Localisation updates from https://translatewiki.net.
Change-Id: I5853f54dea6a4350821d32ac87627500dcd27fb5
2021-12-06 08:22:16 +01:00
Volker E 9c38f7ec82 drawers: Remove outdated supported browser property
IE9 on Windows Phone workarounds are of no use any more.
The `right: 0` and `left: 0` properties below are sufficient in
currently supported browsers.

Change-Id: Ibfb29d1b009cb0ea33bc3cb9be39ee579e981b1a
2021-12-02 13:47:08 -08:00
Translation updater bot 987cd03cbb Localisation updates from https://translatewiki.net.
Change-Id: Ie2cc0ddfe7e592115715fb9923a6c126c8e41ea2
2021-12-02 08:44:28 +01:00
Translation updater bot 66d0de9bd4 Localisation updates from https://translatewiki.net.
Change-Id: I2d72db2cb2e4955d33bc6b478cda3957a0bf3150
2021-12-01 08:16:54 +01:00