From 89ddad3e5bcd89cb82b9b9738af5922cfc569e4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 6 Dec 2014 11:15:58 +0100 Subject: [PATCH] Escaped lastmodifiedat and laggedslavemode Change-Id: Ibcc1b49946bc91e12756eb3866448159493c61f4 --- includes/skins/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 04c02d6607..c3ac9c7dd0 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -862,13 +862,13 @@ abstract class Skin extends ContextSource { if ( $timestamp ) { $d = $this->getLanguage()->userDate( $timestamp, $this->getUser() ); $t = $this->getLanguage()->userTime( $timestamp, $this->getUser() ); - $s = ' ' . $this->msg( 'lastmodifiedat', $d, $t )->text(); + $s = ' ' . $this->msg( 'lastmodifiedat', $d, $t )->escaped(); } else { $s = ''; } if ( wfGetLB()->getLaggedSlaveMode() ) { - $s .= ' ' . $this->msg( 'laggedslavemode' )->text() . ''; + $s .= ' ' . $this->msg( 'laggedslavemode' )->parse() . ''; } return $s; -- 2.20.1