Commit graph

2350 commits

Author SHA1 Message Date
Fomafix 49beda6416 Replace deprecated global function wfGetDB()
Bug: T330641
Change-Id: I79955bb707e73ef6162ca14d30455732ef12f1f2
2023-11-07 20:40:06 +00:00
Translation updater bot e0662f8a29 Localisation updates from https://translatewiki.net.
Change-Id: I5cbfd526290ceef1c8bd12a99a5bcae9d26c3ca2
2023-11-06 08:58:00 +01:00
Translation updater bot cdb09f929f Localisation updates from https://translatewiki.net.
Change-Id: Ie3779800fc766e4a4aebf69295caed91f3400e61
2023-10-31 09:09:30 +01:00
Translation updater bot a1157414fa Localisation updates from https://translatewiki.net.
Change-Id: I582f78459d515964b4618515d69a080b944ab54c
2023-10-30 17:59:54 +01:00
Translation updater bot d102d74cfd Localisation updates from https://translatewiki.net.
Change-Id: I80b05c0ccb265ca74fe25fdc4f8468c507fd50a6
2023-10-24 09:38:45 +02:00
jenkins-bot 5ca7396e43 Merge "Minerva: Thanks should use Codex classes for thanks link" 2023-10-23 08:35:20 +00:00
Translation updater bot 1da8c455cf Localisation updates from https://translatewiki.net.
Change-Id: I1ad475bfd4d0f43f89dbad620b097703f3ec37f0
2023-10-23 09:51:32 +02:00
Jon Robson f47a195079 Minerva: Thanks should use Codex classes for thanks link
Without this Thanks button will be unstyled on Minerva skin.
In the desktop Minerva diff page, the button should be a progressive button
for consistency with Special:MobileDiff

Testing:
* Check diff mode (AMC disabled)
* history page (AMC enabled)

Bug: T345768
Change-Id: I038cfab627eea2fdf558accbf390a8d2d02153a1
2023-10-19 21:17:08 +00:00
Translation updater bot 1679c7ae3e Localisation updates from https://translatewiki.net.
Change-Id: Ib8b3cf6bb292d846e524cf87c2489d8029a509ca
2023-10-19 08:43:52 +02:00
Translation updater bot 1776992f32 Localisation updates from https://translatewiki.net.
Change-Id: Id16ac77168a18ede8a8649504ea6b399ee630f11
2023-10-09 08:57:11 +02:00
jenkins-bot 443ddda6c0 Merge "build: Update linters" 2023-10-04 18:13:09 +00:00
Ed Sanders 1f2ef4bfb3 build: Update linters
Change-Id: Ib7540c4a667a3e766b1846776672bd8bc301b973
2023-10-04 16:56:18 +01:00
Martin Urbanec 9cef38e80f IP Masking: Do not allow temporary users to thank other users
It has been decided to not allow temporary users to thank
other users (see task). This is because the transition
between anonymous and temporary account is nearly invisible,
and it might be confusing why the thanking ability appears
and hides.

Bug: T345679
Change-Id: I62e67327c9a80b3da9e98a2dccdd4ec2051f3026
2023-10-03 22:23:02 +00:00
Translation updater bot 42f2613d3d Localisation updates from https://translatewiki.net.
Change-Id: I506119e5946745f67b6278140d7ff3bb7bae3466
2023-10-03 09:33:22 +02:00
Translation updater bot 7fe4cce465 Localisation updates from https://translatewiki.net.
Change-Id: Iead0431c3d45443dbf3187ceb8062bf086c1ba8d
2023-10-02 10:58:25 +02:00
Umherirrender a5fc01da56 Use HookHandlers for core hooks
The use of "HookHandlers" attribute in extension.json makes it possible
to inject services into hook handler classes in a future patch.

Bug: T338457
Change-Id: If844970f0c8d8f09d0de2a2140b080d1292530a1
2023-09-28 23:32:52 +02:00
Translation updater bot 2adcc71d89 Localisation updates from https://translatewiki.net.
Change-Id: I6da43620c7bc76bb5da3edaa71cb87c88e8022c8
2023-09-25 08:47:08 +02:00
Translation updater bot b4afd5c713 Localisation updates from https://translatewiki.net.
Change-Id: I03ee0678d4c64248d87e6e905c3b92936010abe9
2023-09-21 10:16:49 +02:00
Translation updater bot 84ed031b96 Localisation updates from https://translatewiki.net.
Change-Id: I1eab719105069b705b23b3bbb4a11d8d1d8420af
2023-09-20 08:55:55 +02:00
Translation updater bot 7bac1f1957 Localisation updates from https://translatewiki.net.
Change-Id: Icf91af1f88dbd4c4f915d7c6e03c863b45b8d29e
2023-09-18 08:44:59 +02:00
Translation updater bot d9ebd64528 Localisation updates from https://translatewiki.net.
Change-Id: Ie9c9da9a2f421f1843db317aec77bf83222e445c
2023-09-11 09:05:11 +02:00
Translation updater bot b0c8aa5aae Localisation updates from https://translatewiki.net.
Change-Id: Ia1dce31bd0f0cd364eb2b586267645b555598448
2023-09-07 11:14:00 +02:00
Translation updater bot 4a703e7964 Localisation updates from https://translatewiki.net.
Change-Id: I21845d99abd325cb8f7244d8139b2fc103a86380
2023-09-06 08:43:09 +02:00
jenkins-bot 231d61ce2d Merge "build: Update MediaWiki requirement to 1.41" 2023-09-05 21:38:10 +00:00
Translation updater bot 71704d99cd Localisation updates from https://translatewiki.net.
Change-Id: Id34eabbb73c15ab6d970ecf2cffa232156a504ef
2023-09-01 09:03:40 +02:00
Translation updater bot 9c1903c787 Localisation updates from https://translatewiki.net.
Change-Id: I8aebfceffa8d0038eebac90b26e56c6a27c5414f
2023-08-29 08:29:10 +02:00
Translation updater bot 74790ac4bb Localisation updates from https://translatewiki.net.
Change-Id: I8b512fb444918a59d8a180978a9b2b2816070624
2023-08-28 09:31:15 +02:00
Translation updater bot 8be3349fca Localisation updates from https://translatewiki.net.
Change-Id: I039b1bc4668315d72ee4c9c25e7ea659755a574a
2023-08-24 09:52:20 +02:00
Umherirrender 3d1164f9a4 Use UserFactory::newFromUserIdentity/Title::castFromPageIdentity
As the revision is a local revision, the user identity can be used to
build a User. Not needed to use the id.

Same for the title/page id, where a PageIdentity already exists. Not
needed to use the id.

Change-Id: Ia088d964f75fb46bd0848c9aba8f5bc97ad7a067
2023-08-21 22:11:12 +02:00
Bartosz Dziewoński 7095811872 ApiCoreThank: Fix handling of hidden author of revision
Follow-up to ef903f25d7.

Bug: T344623
Change-Id: Id2f2ea08407fcc9a1cc60e5930e041ef3242ffd1
2023-08-21 16:12:36 +00:00
Translation updater bot 38253edc78 Localisation updates from https://translatewiki.net.
Change-Id: I6e6a952226164ad1424a2f08dd1ea328e2d611d6
2023-08-21 08:48:37 +02:00
Umherirrender f09186cd40 Use namespace MediaWiki\Request\DerivativeRequest
Bug: T321681
Change-Id: Ibbce4a56600fd362cc2bd4901927413325e2661b
2023-08-20 01:40:49 +02:00
gerritbot e2ed94cff3 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I491f0a12aaa4d70a4b6eccda3a478b223896feaa
2023-08-19 14:27:12 +00:00
James D. Forrester 9afd171d43 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I51fd9ae1374d0f25b9373e114cd18c8466d0e586
2023-08-19 14:10:09 +08:00
Daimona Eaytoy 933f5591e5 Make ApiCoreThankIntegrationTest more robust
Use methods provided by core to create (non)existing test pages and
editing them. Make sure that revId is not 1, or the test will fail due
to T344475. This is needed by core change Ie2f1809d.

Change-Id: Ib7ea8c566d330db27c8abfcb4a783ddbd31787e0
2023-08-18 00:37:20 +00:00
Translation updater bot 08a1634d68 Localisation updates from https://translatewiki.net.
Change-Id: I1a94d4e2113b2d8487260e57a762ef203e58966f
2023-08-17 12:10:55 +02:00
Translation updater bot f574abbdca Localisation updates from https://translatewiki.net.
Change-Id: I3f2a444fb6ac71f83eae4c05e1ca87564d482076
2023-08-16 09:12:30 +02:00
Translation updater bot 69586a62c9 Localisation updates from https://translatewiki.net.
Change-Id: I12734345d9d34aa08b05ab7e5ac7be5c81a211fa
2023-08-15 08:26:50 +02:00
Translation updater bot 1489305473 Localisation updates from https://translatewiki.net.
Change-Id: If5f656d24bdbda6457cfe21b3528caafa6cd4cd8
2023-08-14 09:18:45 +02:00
Translation updater bot dd18e1cddc Localisation updates from https://translatewiki.net.
Change-Id: I62b08c56c0704ceac082a8279579d84b75c2b45e
2023-08-10 09:42:14 +02:00
Translation updater bot 209ccde593 Localisation updates from https://translatewiki.net.
Change-Id: Ic7d52e1de22b09ef6ffa005a698bb23017fd86a6
2023-08-09 09:15:52 +02:00
Translation updater bot 1a749bb7b6 Localisation updates from https://translatewiki.net.
Change-Id: I243153d862b08c08bd346782cc5b86197793a461
2023-08-07 08:39:56 +02:00
Daimona Eaytoy cae27c61f3 Add ApiCoreThankUnitTest to the Database group
The test needs the DB for various things related to user blocks.

Change-Id: I1076c347f02de7285e1fdc77feccb59ad60cd08a
2023-08-06 21:30:56 +02:00
jenkins-bot 56a0df9d16 Merge "Update icon resource loader class due to icon changes in MobileFrontend" 2023-08-04 18:00:30 +00:00
bwang cddf22dbda Update icon resource loader class due to icon changes in MobileFrontend
Bug: T343053
Change-Id: I3bde8e4ef5b00ab5b56e0f7925b484ee4809abec
2023-08-04 16:53:44 +00:00
Translation updater bot a3f0f643d3 Localisation updates from https://translatewiki.net.
Change-Id: I6b265aeb59617b6f5571ca9a4b1ec91261bef308
2023-08-04 09:21:15 +02:00
Translation updater bot bb8b3b0dc8 Localisation updates from https://translatewiki.net.
Change-Id: I5df391066194c9467f0b730cf54f9f2da6bdf0c6
2023-08-03 08:49:10 +02:00
Translation updater bot 382710ac49 Localisation updates from https://translatewiki.net.
Change-Id: Ib8cb6d6c9a075ce8f4b1426a998a2da1e8a74b32
2023-08-02 09:04:48 +02:00
Translation updater bot 2f8af015a2 Localisation updates from https://translatewiki.net.
Change-Id: Ieabfb5ba507dbda98eeddb8b89cd33079cf73abd
2023-07-31 09:01:31 +02:00
bwang b6a7933544 Update Thanks extension to use IconButton.js from MobileFrontend
Bug: T340262
Change-Id: Id177ce9a11b2f5e82bd1099613fd7a9c4cde6dc5
2023-07-28 11:17:43 -07:00