From: Niklas Laxström Date: Sat, 6 Dec 2014 10:15:58 +0000 (+0100) Subject: Escaped lastmodifiedat and laggedslavemode X-Git-Tag: 1.31.0-rc.0~12872 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=89ddad3e5bcd89cb82b9b9738af5922cfc569e4a;p=lhc%2Fweb%2Fwiklou.git Escaped lastmodifiedat and laggedslavemode Change-Id: Ibcc1b49946bc91e12756eb3866448159493c61f4 --- 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;