Commit graph

8 commits

Author SHA1 Message Date
Umherirrender 2b6f256a81 Use type-declaration on api module constructor
Parent class constructor gets type-declaration in 1145328459

Change-Id: Ibdf741544d701e3a95cc5cb5ba2cb950273445e1
2024-10-25 20:28:30 +02:00
Umherirrender c697355f04 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I230ada2f4ad95f86593759e8320d47acdf06a749
2024-10-20 13:21:21 +02:00
Fomafix 139c83b1a9 ApiFlowThank: Replace deprecated User::newFromId
Change-Id: I857ce647a1374600c952107b92c3c35440c83b6c
2024-09-07 10:30:10 +00:00
Umherirrender f5db77c750 Use namespaced classes
This requires 1.42 for some new names

Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I1b433ab02231087e0f84a734092751ce2cf28b2c
2024-01-04 22:22:56 +01: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
Siddharth VP 6b71b859ee Use namespaced Echo classes
Change-Id: I1ff1d1772e615bc618ed2dd0080795cdfd98e79e
2023-06-09 23:16:35 +05:30
Daimona Eaytoy 22ccc90c75 Remove unneded @throws MWException
Echo can throw it but it should not be caught.

Bug: T328220
Change-Id: I0f91d6dd98f1f65de49d5f89fc2c80ba1a99ca16
2023-06-07 18:51:16 +02: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
Renamed from includes/ApiFlowThank.php (Browse further)