Page MenuHomePhabricator

PageTranslation\Hooks: Implement hook interfaces and inject dependencies
Open, MediumPublic

Description

The MediaWiki\Extension\Translate\PageTranslation\Hooks class contains hook handlers but does not implement any of the hook interfaces.

Update the code to:

  1. Use hook interfaces
  2. Inject dependencies

The code can be updated one method at a time rather than doing a bulk update.