mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-14 18:44:51 +00:00
7b750929a8
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 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
modules | ||
scripts | ||
tests | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
.svgo.config.js | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
Doxyfile | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json | ||
ServiceWiring.php | ||
Thanks.alias.php |