Merge "LintErrorsPager: Set explicit output format on some messages"

This commit is contained in:
jenkins-bot 2016-11-23 02:39:36 +00:00 committed by Gerrit Code Review
commit 78e7e8f8b8

View file

@ -130,13 +130,13 @@ class LintErrorsPager extends TablePager {
public function getFieldNames() {
$names = [
'title' => $this->msg( 'linter-pager-title' ),
'title' => $this->msg( 'linter-pager-title' )->text(),
];
if ( $this->category !== 'fostered' ) {
// 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;
}
}