mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-11 16:59:40 +00:00
Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
Bug: T343994 Change-Id: Icf148a1a9b10e568f48d0ef478f781d243a9345a
This commit is contained in:
parent
ab45cafca7
commit
8fe89c1c35
|
@ -226,7 +226,7 @@ class SpecialLintErrors extends SpecialPage {
|
|||
$titleSearch = $this->cleanTitle( $title, $namespaces );
|
||||
|
||||
if ( $titleSearch[ 'titlefield' ] !== null ) {
|
||||
$out->setPageTitle( $this->msg( 'linter-prefix-search-subpage', $titleSearch[ 'titlefield' ] ) );
|
||||
$out->setPageTitleMsg( $this->msg( 'linter-prefix-search-subpage', $titleSearch[ 'titlefield' ] ) );
|
||||
|
||||
$catManager = new CategoryManager();
|
||||
$pager = new LintErrorsPager(
|
||||
|
@ -250,7 +250,7 @@ class SpecialLintErrors extends SpecialPage {
|
|||
$this->showCategoryListings( $catManager );
|
||||
} else {
|
||||
$this->addHelpLink( "Help:Extension:Linter/{$this->category}" );
|
||||
$out->setPageTitle(
|
||||
$out->setPageTitleMsg(
|
||||
$this->msg( 'linterrors-subpage',
|
||||
$this->msg( "linter-category-{$this->category}" )->text()
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue