Merge "Avoid SpecialPage::getContext in SpecialAbuseLog::__construct"

This commit is contained in:
jenkins-bot 2021-12-02 15:57:21 +00:00 committed by Gerrit Code Review
commit f9bcaceefd

View file

@ -146,9 +146,9 @@ class SpecialAbuseLog extends AbuseFilterSpecialPage {
$this->consequencesRegistry = $consequencesRegistry;
$this->varBlobStore = $varBlobStore;
$this->specsFormatter = $specsFormatter;
$this->specsFormatter->setMessageLocalizer( $this->getContext() );
$this->specsFormatter->setMessageLocalizer( $this );
$this->variablesFormatter = $variablesFormatter;
$this->variablesFormatter->setMessageLocalizer( $this->getContext() );
$this->variablesFormatter->setMessageLocalizer( $this );
$this->varManager = $varManager;
}