mediawiki-extensions-Thanks/includes
Piotr Miazga 7b750929a8 Move Echo hooks to new EchoHooks handler that has no dependencies
Echo hook BeforeCreateEchoEvent is triggered very early in
Setup.php. This causes all dependencies of Thanks/Hooks to be
initialized. One of the places that is affected is the `addWiki.php`
script that tries to redefine the RevisionStore service, but cannot
due to fact it's already initialized.

Both Echo hooks (BeforeCreateEchoEvent and EchoGetBundleRules) do
not require any dependencies, and due to fact that one of those is
initialized early, let's move them to a separate small EchoHooks
class that would handle Echo specific logic.

Bug: T358236
Change-Id: I0e348872ba5dc313325e3f4f296fd84bfb2c785b
2024-04-04 16:39:50 +02:00
..
Api Use namespaced classes 2024-01-04 22:22:56 +01:00
Storage Use namespaced classes 2024-01-04 22:22:56 +01:00
EchoCoreThanksPresentationModel.php Switch to ICP and stop using DBAccessObjectUtils::getDBOptions() 2024-02-29 09:15:20 +00:00
EchoFlowThanksPresentationModel.php Document generated messages 2023-11-30 11:52:11 +00:00
EchoHooks.php Move Echo hooks to new EchoHooks handler that has no dependencies 2024-04-04 16:39:50 +02:00
Hooks.php Move Echo hooks to new EchoHooks handler that has no dependencies 2024-04-04 16:39:50 +02:00
MobileFrontendHandler.php Inject services in Hooks and MobileFrontendHandler 2024-03-14 20:27:26 +00:00
SpecialThanks.php SpecialThanks: Document generated i18n keys 2024-02-23 16:34:49 +00:00
ThanksLogFormatter.php Use namespaced classes 2024-01-04 22:22:56 +01:00
ThanksQueryHelper.php Switch to ICP and stop using DBAccessObjectUtils::getDBOptions() 2024-02-29 09:15:20 +00:00
ThanksServices.php