Commit graph

2975 commits

Author SHA1 Message Date
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
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
vladshapik 023c5046d3 Avoid using User::getOption
Remove using of User:getOption since this method
will be hard-deprecated. Now it is soft-deprecated.

Bug: T296083
Change-Id: I9f762cf27d7c778c8c391cde1409b510bd3e4e67
2021-11-30 12:54:03 +01:00
Translation updater bot 484ced3bb6 Localisation updates from https://translatewiki.net.
Change-Id: Ida3ae9136ab4dbe0b4efa17fb0a6cf98d81eb120
2021-11-30 08:24:02 +01:00
jenkins-bot f4b3b11053 Merge "Fix history link" 2021-11-29 23:36:42 +00:00
Clare Ming 11b703f616 Fix history link
- Show history link for view pages only.

Bug: T295772
Change-Id: I01b4aa6975543fbfe015ff9cd439f82b5baf3e5b
2021-11-29 13:34:09 -07:00
jdlrobson 76a12a2ad4 Restore logo to footer
In 894364a3eb we moved the section tag for data-logos outside Logo
but did not add it to the footer

Bug: T295773
Change-Id: I52c07e95ac8166e9e9d11aba7cb3130cc6a2f8d7
2021-11-29 10:59:23 -08:00
Translation updater bot 985248d973 Localisation updates from https://translatewiki.net.
Change-Id: I7b1a1ad835eabf9469471ee6a3c3819c62d71267
2021-11-29 08:14:29 +01:00
Translation updater bot 98f2b02514 Localisation updates from https://translatewiki.net.
Change-Id: I787b44c9ea4a4ba374605fab2491f15b3623ec77
2021-11-26 08:25:36 +01:00
Translation updater bot 298cae9b7f Localisation updates from https://translatewiki.net.
Change-Id: I0ab6a021550341c139f17d5f3aed61f0f1aa166f
2021-11-25 09:04:23 +01:00
jenkins-bot 05244d905b Merge "Remove markup icon code" 2021-11-24 20:21:51 +00:00
jenkins-bot 7122261c30 Merge "Update sandbox icon in personal menu" 2021-11-24 19:31:19 +00:00