mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-27 17:20:12 +00:00
Merge "LintErrorsPager: Set explicit output format on some messages"
This commit is contained in:
commit
78e7e8f8b8
|
@ -130,13 +130,13 @@ class LintErrorsPager extends TablePager {
|
||||||
|
|
||||||
public function getFieldNames() {
|
public function getFieldNames() {
|
||||||
$names = [
|
$names = [
|
||||||
'title' => $this->msg( 'linter-pager-title' ),
|
'title' => $this->msg( 'linter-pager-title' )->text(),
|
||||||
];
|
];
|
||||||
if ( $this->category !== 'fostered' ) {
|
if ( $this->category !== 'fostered' ) {
|
||||||
// TODO: don't hardcode list of stuff with no parameters...?
|
// TODO: don't hardcode list of stuff with no parameters...?
|
||||||
$names['details'] = $this->msg( "linter-pager-{$this->category}-details" );
|
$names['details'] = $this->msg( "linter-pager-{$this->category}-details" )->text();
|
||||||
}
|
}
|
||||||
$names['template'] = $this->msg( "linter-pager-template" );
|
$names['template'] = $this->msg( "linter-pager-template" )->text();
|
||||||
return $names;
|
return $names;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue