Commit graph

7259 commits

Author SHA1 Message Date
Translation updater bot 33fc98db01 Localisation updates from https://translatewiki.net.
Change-Id: I4b50050725756cb83c2c5d13d3dbd1770757366b
2024-04-23 09:28:23 +02:00
Translation updater bot db8e8f66b9 Localisation updates from https://translatewiki.net.
Change-Id: Ifc22ae3f18db928d283163807fcdfabf741281cd
2024-04-22 09:28:10 +02:00
jenkins-bot e8541912d5 Merge "Make use of native str_starts_with() where possible" 2024-04-20 22:11:37 +00:00
jenkins-bot 03309bd42d Merge "tests: Return FakeResultWrapper from mocked IReadableDatabase::select" 2024-04-19 20:42:26 +00:00
Umherirrender 760cfad682 tests: Return FakeResultWrapper from mocked IReadableDatabase::select
To match the return type documentation of IReadableDatabase::select

Also fix a default value for IReadableDatabase::selectRowCount

Change-Id: I510bd261b64b5c2cef227c081a2fe34801f54121
2024-04-19 21:52:50 +02:00
thiemowmde fa23779a17 Stop using the Xml class in this codebase
Many of the Xml::… methods are deprecated. This code here is not
generating XML anyway, but HTML.

Bug: T341775
Change-Id: I69edf4606bc5cb429d48c8188c691b44575e2d93
2024-04-19 20:41:40 +02:00
thiemowmde d498e09e49 Make use of native str_starts_with() where possible
Change-Id: If95d0c801e397ca00b0c0d792c28f972c642b377
2024-04-19 20:36:31 +02:00
Translation updater bot dab82a9c12 Localisation updates from https://translatewiki.net.
Change-Id: I981da1b6951a24c7be201396efb58e8794b2773d
2024-04-19 09:46:26 +02:00
Umherirrender 2feece8bad IReadableDatabase::select cannot return false
Remove check for false from IDatabase::select as this is not possible
A DBQueryError is thrown (documented since efda8cd3 / I056b7148)

Change-Id: I465a9158aa6430e7ff8a5a83fe55c5944315aa40
2024-04-18 22:53:15 +02:00
Translation updater bot a180cf3623 Localisation updates from https://translatewiki.net.
Change-Id: Ia93b288dad9c14c264fe35bdadfc243f1944c2c1
2024-04-18 09:20:22 +02:00
jenkins-bot 5840fb4daa Merge "build: Updating eslint-config-wikimedia to 0.27.0" 2024-04-17 15:22:31 +00:00
Translation updater bot 1580be02df Localisation updates from https://translatewiki.net.
Change-Id: Ic0119c9629a35ba75c3fb3bcdeb0d676d19a55b9
2024-04-17 09:27:59 +02:00
libraryupgrader 049709a167 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I682039a6f58a820ab46ab5d596922264f36509c9
2024-04-17 04:55:13 +00:00
Translation updater bot 3300bbfddb Localisation updates from https://translatewiki.net.
Change-Id: I5d4ea14a59d0e87916bf8eddd28ffe662e429409
2024-04-16 09:27:55 +02:00
jenkins-bot 71ec391deb Merge "Migrate to IDatabase::newInsertQueryBuilder/newUpdateQueryBuilder" 2024-04-14 18:00:20 +00:00
Umherirrender aa41e1e292 Migrate to IDatabase::newInsertQueryBuilder/newUpdateQueryBuilder
UpdateQueryBuilder does not return a value,
removed the return value from the functions as well,
deprecated since 1.33

Change-Id: I3b934a5e6d5a53c07ec5233da00d9f53ba7bae92
2024-04-13 22:51:32 +02:00
Umherirrender d2eb46e7b9 Migrate to IDatabase::newDeleteQueryBuilder
Change-Id: I516c179df464be68352809873dbff44dc3c642f1
2024-04-12 22:45:45 +02:00
Translation updater bot ae71de9eff Localisation updates from https://translatewiki.net.
Change-Id: Ifab77dcb572717b1da7c224ece4cf39b1882d555
2024-04-12 09:42:07 +02:00
Translation updater bot deca21c003 Localisation updates from https://translatewiki.net.
Change-Id: I95971bdd797e7e9105255a862a2b70ab1d78618a
2024-04-11 09:21:22 +02:00
Translation updater bot d960ff9759 Localisation updates from https://translatewiki.net.
Change-Id: I0de22702c9ba3ef4e756ccc76b452ae8b750bf13
2024-04-10 09:20:46 +02:00
Translation updater bot df2c91a6fe Localisation updates from https://translatewiki.net.
Change-Id: I945ad82e1fa19b3c2633090eb34b7bc53f6c517d
2024-04-09 09:26:31 +02:00
Translation updater bot 9f2cd9f7e5 Localisation updates from https://translatewiki.net.
Change-Id: I4dd44da7982944f150bbd016ddf8143a228e3300
2024-04-08 09:25:37 +02:00
Translation updater bot 72c20cb1ea Localisation updates from https://translatewiki.net.
Change-Id: I9df37971ecbb3c7d44d9f03925385e8b68ab7ae9
2024-04-05 09:38:04 +02:00
Fomafix 2d9ffb7301 Inject services into NotificationDeleteJob
Change-Id: I0988e2d486eaf43cb999d38c0d2a0c81a7930cfd
2024-04-04 14:56:38 +00:00
Translation updater bot ffac32cff9 Localisation updates from https://translatewiki.net.
Change-Id: Ibc1a791f2e021eb8b688842ae4a8782615ea609c
2024-04-04 09:37:57 +02:00
jenkins-bot f13b8f2ed1 Merge "Migrate to IDatabase::newInsertQueryBuilder for upsert" 2024-04-03 20:14:19 +00:00
Translation updater bot e4ed9f4679 Localisation updates from https://translatewiki.net.
Change-Id: Ia544217080827b519770dc7d8487135f011645a2
2024-04-03 09:23:36 +02:00
Umherirrender b8e54d8e2c Migrate to IDatabase::newInsertQueryBuilder for upsert
Change-Id: I532b206b6c1d652369d4f986d0f5b91958a1ef47
2024-04-02 16:38:05 +02:00
Translation updater bot 6bae4af694 Localisation updates from https://translatewiki.net.
Change-Id: Ie7af9f4532b3767e92778a3538d9b392e52baa1c
2024-04-02 09:21:22 +02:00
Umherirrender 297ed70cb2 Replace isset() with null check in DiscussionParser
Found usage of isset() on expression self::$diffParser that appears to
be always set. isset() should only be used to suppress errors. Check
whether the expression is null instead.
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#isset

Change-Id: Iaaad420ad05b8352f8a7f162c746591749c8b3e9
2024-04-01 13:37:27 +02:00
Translation updater bot ced572b369 Localisation updates from https://translatewiki.net.
Change-Id: If449ea973b55a75e6419745b0c861ab50ecb6466
2024-04-01 09:22:34 +02:00
Translation updater bot c342de286e Localisation updates from https://translatewiki.net.
Change-Id: Iad197b4d94d1e6267864a69afe2fef8a2b6566fc
2024-03-29 08:46:40 +01:00
Translation updater bot e5983ee1a3 Localisation updates from https://translatewiki.net.
Change-Id: I3b82c93d2a492dab1d6ac08bd4c72a20237051b1
2024-03-26 08:19:32 +01:00
Translation updater bot 80430a0096 Localisation updates from https://translatewiki.net.
Change-Id: I1e08c0040626341eb6559206aedd6d61ffc65b8d
2024-03-25 08:35:50 +01:00
Translation updater bot c46d9a8ac0 Localisation updates from https://translatewiki.net.
Change-Id: Ibecaaf870bf7a4a0c629102e0120af3695d03952
2024-03-22 08:44:14 +01:00
Translation updater bot 033aaa39a5 Localisation updates from https://translatewiki.net.
Change-Id: I43ec617fa284a449a7f4eaab27266eefa423c36d
2024-03-21 08:55:03 +01:00
Translation updater bot ea97f7b987 Localisation updates from https://translatewiki.net.
Change-Id: I86f3f153ba7dc707c69b6cb38ede5bb7fecc3035
2024-03-20 08:23:32 +01:00
Translation updater bot 0f462243f4 Localisation updates from https://translatewiki.net.
Change-Id: Ibd3533d83a1153b4d4c0c2d781d2696e6c2d1adb
2024-03-19 08:24:57 +01:00
jenkins-bot fda5f7daa6 Merge "Inject service RevisionStore into RevisionLocalCache" 2024-03-18 09:06:16 +00:00
Translation updater bot e52e1f7587 Localisation updates from https://translatewiki.net.
Change-Id: I781f58fc1c9fe46b69207991f58b0ecc42d763a7
2024-03-18 08:30:51 +01:00
jenkins-bot 817dd42561 Merge "Inject service LinkBatchFactory into ApiEchoMute" 2024-03-17 22:39:16 +00:00
Fomafix 5595193eb3 Inject services into TitleLocalCache
Change-Id: Ib1259484436591dd30b29651ccca474c0ce16d13
2024-03-17 21:22:00 +00:00
Fomafix 98feb3f3fd Inject service RevisionStore into RevisionLocalCache
Change-Id: I4945d582138af4500f8c6929ca0c97d05f10377e
2024-03-17 20:15:51 +00:00
Fomafix 73bd6e8ef1 Inject service LinkBatchFactory into ApiEchoMute
Change-Id: I98c1d2f6b1aa04eb64cef299a6aca475658bdd74
2024-03-17 19:13:44 +00:00
jenkins-bot 2dd93768c5 Merge "Style fixes to ApiEchoMute" 2024-03-15 08:16:37 +00:00
Translation updater bot 6d814c4c6c Localisation updates from https://translatewiki.net.
Change-Id: I717b4a36c1e10d904147acc4827d7e26d77b069d
2024-03-15 08:33:22 +01:00
Gergő Tisza c6accbeff0 Style fixes to ApiEchoMute
Change-Id: Ic70095d44282b19fb10239c6e579acbbeccae5bd
2024-03-15 00:36:43 +00:00
Reedy 2b58f29d8c Fix casing of MediaWiki
Change-Id: If581a54ac1025bb13ff8fce5e8f64b92c71de986
2024-03-12 15:25:19 +00:00
Translation updater bot e42ce1da5f Localisation updates from https://translatewiki.net.
Change-Id: I913c6b2e5fd416ac2be18be9810d23a729ece095
2024-03-11 08:26:49 +01:00
Umherirrender d60c797629 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: Ie03e1cdbf7f3a18c4e02e08fbd81c148f7da4d5a
2024-03-10 19:22:36 +01:00