Commit graph

2221 commits

Author SHA1 Message Date
jenkins-bot 3192cc6a99 Merge "API: Refactor to match modern code standards" 2023-05-21 08:51:59 +00:00
jenkins-bot 275b9d8de4 Merge "SpecialPage: Remove deprecations and adjust code style" 2023-05-21 08:25:30 +00:00
Umherirrender fc84a35180 tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Id40d7df5f9d380aca50ce4c15bbf83897333ecc5
2023-05-20 19:12:59 +02:00
Mkostrzewski 1b3fbbbcc1 SpecialPage: Remove deprecations and adjust code style
Replaced deprecated calls to User::newFromName
and User::getEditToken with their direct
replacements. Adjusted the code to make it
easier to parse visually and fixed a potentially
nullable references in getFormFields

Bug: T337002
Change-Id: I97a1266d094452ddaea43357d20bc0119b97576d
2023-05-20 18:12:33 +03:00
Marcin Kostrzewski e483b844c9 API: Refactor to match modern code standards
I've moved all API classes into a separate folder,
as I felt like grouping modules improves readability.
APIs themselves had storage logic which I extracted and put
in another folder. I was originally going with an interface
to the storage to allow for other storage methods than
log entries, but the code was too tightly coupled with it,
so I've left that for another day. Added dependency injection
for all services and used ServiceOptions for config vars.

Bug: T337002
Change-Id: Ie8a1f435d635e1d0e1286f673bfe96cc4fdfe4fe
2023-05-20 17:57:26 +03:00
gerritbot d692bf34bb Update moved class RawMessage
See T321882. Moved in I195cf4c67bd514

Bug: T321681
Change-Id: I3409e462974dd9f4132a5f9db98b344fb8e48653
2023-05-19 10:31:13 +00:00
Translation updater bot f7bc539e52 Localisation updates from https://translatewiki.net.
Change-Id: I5407e0a701f66b76da3585cfa1c4360df08ec2f3
2023-05-15 08:33:53 +02:00
Translation updater bot 3b8e3aad89 Localisation updates from https://translatewiki.net.
Change-Id: Ia6078a597585489a4e7f7803c465bf665b9ab810
2023-05-11 09:20:49 +02:00
Translation updater bot ca6fbc9713 Localisation updates from https://translatewiki.net.
Change-Id: Ia5ffb15f31a86896f77e7210e98611479dab4d0b
2023-05-10 08:42:05 +02:00
Translation updater bot 27b7fd4ef0 Localisation updates from https://translatewiki.net.
Change-Id: I07b18ba64dcab84d9b73552fce91bd6215a3500a
2023-05-09 08:55:57 +02:00
libraryupgrader 8e07390f9e build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Iaae7607aac280e4aa77377cce8a0f68b997f5377
2023-05-05 18:09:34 +00:00
Translation updater bot aa32a7d7fb Localisation updates from https://translatewiki.net.
Change-Id: I0b16080c4f6dc62dce8cf2b50967429d2d34259c
2023-05-05 10:41:08 +02:00
libraryupgrader 04a8493207 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I40a2859a5308d01cdbf3ee899a500da56ae554d1
2023-04-29 12:35:27 +00:00
Translation updater bot 1c723997eb Localisation updates from https://translatewiki.net.
Change-Id: I821a846ee8333f6c0e7cfcafed9f65875fcebc66
2023-04-27 09:15:32 +02:00
Bartosz Dziewoński dc8f07d2af API tests: Assert error codes, not error messages
Depends-On: I752f82f29bf5f9405ea117ebf9e5cf70335464ad
Needed-By: Ie17987991d1e9a0d77da97e3a81fe0a21c6d7866
Change-Id: I353e34d81afaa06750f8725181c808fabcebea42
2023-04-26 17:55:21 +00:00
Translation updater bot 50ea95d580 Localisation updates from https://translatewiki.net.
Change-Id: Ifb4c9eda573df3df3b28fb0836f13d8871f92939
2023-04-17 09:15:38 +02:00
Translation updater bot 83f692efd2 Localisation updates from https://translatewiki.net.
Change-Id: I5626402c9efbbbaeaa8c0f6ccb7f9f2017c08dec
2023-04-14 09:27:24 +02:00
Translation updater bot 09a91c08d1 Localisation updates from https://translatewiki.net.
Change-Id: I1f89822e59bb66a1899c1cbe7cc7fab35cfcea8b
2023-04-11 09:14:22 +02:00
Translation updater bot dfb92eba85 Localisation updates from https://translatewiki.net.
Change-Id: I8dcb1407a5e5dda9c8e81a7ab98791538ef977fe
2023-04-10 09:46:50 +02:00
Translation updater bot 38e2b5a8c0 Localisation updates from https://translatewiki.net.
Change-Id: I4082dfbe67eb618f4dafb45405d076b3ed40a5b4
2023-04-03 09:19:11 +02:00
libraryupgrader 4d9651d46f build: Updating grunt to 1.6.1
Change-Id: I42194b6cbbc39f348f971d33c0e95157c82bc88b
2023-03-27 21:14:35 +00:00
Umherirrender 2a9a2e08e1 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0

Change-Id: I8802407ab40834168d48f19a7926f9254c17a59e
2023-03-24 20:48:23 +01:00
Winston Sung 85e38a62d4 Thanks: Special page aliases should not store in zh
Bug: T286291
Change-Id: I2c2c78eda1a9382df46ee95381a43188928be90d
2023-03-22 12:22:02 +00:00
Translation updater bot adb546aeee Localisation updates from https://translatewiki.net.
Change-Id: I854bb9916ef1bce4a07ebcb3277869d9c8211858
2023-03-22 09:16:34 +01:00
Translation updater bot d0774e90f4 Localisation updates from https://translatewiki.net.
Change-Id: Ib4e1d51272fbd5985f6ac503c41763a188d6c7f4
2023-03-17 09:23:10 +01:00
Translation updater bot 2c699788d3 Localisation updates from https://translatewiki.net.
Change-Id: I750ffa3b1d4693825ff7afa8348ee23f4fd1c5e3
2023-03-13 08:39:59 +01:00
libraryupgrader e05f47728b build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: Idc43421102020186501b912728d2b1d015d1c4a9
2023-03-12 12:12:52 +00:00
Translation updater bot ea39588911 Localisation updates from https://translatewiki.net.
Change-Id: I39d2e54faa4218340945e59f377142da3ab57e0d
2023-03-10 08:49:40 +01:00
Translation updater bot a43943e52c Localisation updates from https://translatewiki.net.
Change-Id: I725a3629d075d785ec954b2208fbe96fe9be6251
2023-03-09 09:06:22 +01:00
Translation updater bot 8a61532014 Localisation updates from https://translatewiki.net.
Change-Id: I246cb19bb840224a42ba94c76de4455447fd501c
2023-03-08 08:43:04 +01:00
Translation updater bot 7254302b90 Localisation updates from https://translatewiki.net.
Change-Id: I6ea4b6e927a6be1222847ed601c6436a54227596
2023-03-06 08:34:21 +01:00
Translation updater bot 32ac52a699 Localisation updates from https://translatewiki.net.
Change-Id: I59382d85091a168694e17084cb5e65a1d44b6b10
2023-03-03 08:49:25 +01:00
Translation updater bot 4ac28d6452 Localisation updates from https://translatewiki.net.
Change-Id: I289c81daaae2d0a633c636101ebf864b680677f6
2023-02-28 08:29:42 +01:00
Translation updater bot fb500c7414 Localisation updates from https://translatewiki.net.
Change-Id: Ib7a923ddf5737883983aef81f1088de101d98a0d
2023-02-27 08:28:22 +01:00
Translation updater bot 811aa2435b Localisation updates from https://translatewiki.net.
Change-Id: I58139ca4fac2bcaebd15f1e3543646cd0a9f74f5
2023-02-23 08:40:18 +01:00
Translation updater bot 6759c62de9 Localisation updates from https://translatewiki.net.
Change-Id: Ie4213569beaf8d8a3ed9696a4815d7d822f979e5
2023-02-22 09:01:35 +01:00
Translation updater bot db277ec3a4 Localisation updates from https://translatewiki.net.
Change-Id: I62b552e8ec0e3f4a351843a7c94fb90c500fba0e
2023-02-17 08:56:42 +01:00
Translation updater bot ef457f0c9a Localisation updates from https://translatewiki.net.
Change-Id: I15c9fe9f51affce40961303f4e118f86e21fed13
2023-02-15 08:26:18 +01:00
Translation updater bot 081f553fd9 Localisation updates from https://translatewiki.net.
Change-Id: If9e4665d036d7fc4265836c2ca74355081924428
2023-02-13 08:31:16 +01:00
Translation updater bot 365d8c1981 Localisation updates from https://translatewiki.net.
Change-Id: I91db89bfcedefe32efa1a1ce2afe51a8d96c7d60
2023-02-09 10:12:32 +01:00
Translation updater bot eb8d2c160f Localisation updates from https://translatewiki.net.
Change-Id: I05e075c85e7b3c6fbbe090d0dce00215feacf9c1
2023-01-30 08:30:56 +01:00
Translation updater bot 667b4f5b54 Localisation updates from https://translatewiki.net.
Change-Id: I7d6a652fb99205d6e804911300fcbd83cd1fbf60
2023-01-24 08:49:50 +01:00
Translation updater bot 9ea0973d64 Localisation updates from https://translatewiki.net.
Change-Id: I1cf28ce75373fbd311428f298fb005991f9ea223
2023-01-23 08:24:15 +01:00
Translation updater bot 4d77551eb4 Localisation updates from https://translatewiki.net.
Change-Id: Iff8e72cd5f643abd499aba50e5efe1443127997f
2023-01-19 11:32:28 +01:00
Translation updater bot d82089fa7f Localisation updates from https://translatewiki.net.
Change-Id: I905bfc5a869112c7856aaa9258cb528fa9acf53f
2023-01-17 08:08:16 +01:00
Translation updater bot d91e0adf2b Localisation updates from https://translatewiki.net.
Change-Id: I149bb5b866a22280c08046d5cdcb893702ee85c1
2023-01-16 08:29:33 +01:00
Translation updater bot 8f526d174c Localisation updates from https://translatewiki.net.
Change-Id: If0073309f64db4dfa222b558c987cbf8842f38aa
2023-01-09 09:29:29 +01:00
jenkins-bot 006b42fd46 Merge "Replace deprecated hook handler with user locator" 2023-01-06 11:48:39 +00:00
Translation updater bot fa73fb7fe5 Localisation updates from https://translatewiki.net.
Change-Id: I1e08330c7819ab52b6d769eb9fbde4c1d92689a2
2023-01-05 09:11:11 +01:00
Matěj Suchánek 1f39e662d8 Replace deprecated hook handler with user locator
Change-Id: I97de923f1e63f05ab4e4887fd4fce6a5800e668b
2023-01-04 19:15:06 +01:00