From d8437fc9c3ce291172a009cb9604b7d0b64c70ac Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 22 Nov 2016 01:18:29 -0800 Subject: [PATCH] LintErrorsPager: Set explicit output format on some messages Bug: T151283 Change-Id: Ic52bc11a6aacf7f5bb23d9273fa0bf2a27e0cfc4 --- includes/LintErrorsPager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/LintErrorsPager.php b/includes/LintErrorsPager.php index 4c0fd866..ae241a2b 100644 --- a/includes/LintErrorsPager.php +++ b/includes/LintErrorsPager.php @@ -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; } }