mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-09-23 18:29:58 +00:00
Add a title for single page view
Follow up to I70fde2676ded6a112f7f2b07f94f6f4b616f0e39 Bug: T151362 Change-Id: I21b8b9085f13480075e0b572f38ec9a05a398f01
This commit is contained in:
parent
31bc33b578
commit
f821fa7f47
|
@ -96,6 +96,7 @@ class SpecialLintErrors extends SpecialPage {
|
|||
$pageName = $params['pagename'] ?? null;
|
||||
if ( $par === null && $pageName !== null ) {
|
||||
$out = $this->getOutput();
|
||||
$out->setPageTitle( $this->msg( 'linterrors-subpage', $pageName ) );
|
||||
|
||||
$title = Title::newFromText( $pageName );
|
||||
if ( $title !== null ) {
|
||||
|
|
Loading…
Reference in a new issue