Escaped lastmodifiedat and laggedslavemode
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Sat, 6 Dec 2014 10:15:58 +0000 (11:15 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 23 Dec 2014 16:40:33 +0000 (16:40 +0000)
Change-Id: Ibcc1b49946bc91e12756eb3866448159493c61f4

includes/skins/Skin.php

index 04c02d6..c3ac9c7 100644 (file)
@@ -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 .= ' <strong>' . $this->msg( 'laggedslavemode' )->text() . '</strong>';
+                       $s .= ' <strong>' . $this->msg( 'laggedslavemode' )->parse() . '</strong>';
                }
 
                return $s;