mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
Bug: T343994 Depends-On: I384a12bdb66dfc8fa6650e76e27c671fae5163d6 Change-Id: I1464c9f7db3b30ad9bb12377cc39cfcd5d540f78
This commit is contained in:
parent
c50d129b02
commit
26aeebd301
|
@ -118,7 +118,7 @@ class SpecialDisplayNotificationsConfiguration extends UnlistedSpecialPage {
|
|||
$notificationTypes
|
||||
);
|
||||
|
||||
$this->getOutput()->setPageTitle( $this->msg( 'echo-displaynotificationsconfiguration' )->text() );
|
||||
$this->getOutput()->setPageTitleMsg( $this->msg( 'echo-displaynotificationsconfiguration' ) );
|
||||
$this->outputHeader( 'echo-displaynotificationsconfiguration-summary' );
|
||||
$this->outputConfiguration();
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ class SpecialNotifications extends SpecialPage {
|
|||
$this->setHeaders();
|
||||
|
||||
$out = $this->getOutput();
|
||||
$out->setPageTitle( $this->msg( 'echo-specialpage' )->text() );
|
||||
$out->setPageTitleMsg( $this->msg( 'echo-specialpage' ) );
|
||||
|
||||
$this->addHelpLink( 'Help:Notifications/Special:Notifications' );
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class SpecialNotificationsMarkRead extends FormSpecialPage {
|
|||
parent::execute( $par );
|
||||
|
||||
$out = $this->getOutput();
|
||||
$out->setPageTitle( $this->msg( 'echo-specialpage-markasread' )->text() );
|
||||
$out->setPageTitleMsg( $this->msg( 'echo-specialpage-markasread' ) );
|
||||
|
||||
// Redirect to login page and inform user of the need to login
|
||||
$this->requireLogin( 'echo-notification-loginrequired' );
|
||||
|
|
Loading…
Reference in a new issue