mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-23 10:22:05 +00:00
Pass correct IContextSource to HTMLForm
The special page is only a MessageLocalizer, not a IContextSource. Its implements all methods of IContextSource, but are delegated to the underlayed IContextSource. So pass it directly make phan happy, while the current code works as expected Change-Id: Ia9d83f2f71a466a2ba74540f96f165c96fb7ca00
This commit is contained in:
parent
930eed4496
commit
dbfcd23b3b
|
@ -136,7 +136,7 @@ class SpecialDisplayNotificationsConfiguration extends UnlistedSpecialPage {
|
|||
'disabled' => true,
|
||||
]
|
||||
],
|
||||
$this
|
||||
$this->getContext()
|
||||
);
|
||||
|
||||
$form->setTitle( $this->getPageTitle() )
|
||||
|
|
Loading…
Reference in a new issue