X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fchanges%2FChangesList.php;h=b1dff1492488ef1a8b0fb2b4c46231786b5f05ce;hb=e1e44592aac39d8dfd7d7052fd9f75af9c5efb0d;hp=eb9febea08097bfca6f865912f5a506829e13175;hpb=8785fa24c96f08f18f308a9e36f9e17d1b62552b;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php
index eb9febea08..b1dff14924 100644
--- a/includes/changes/ChangesList.php
+++ b/includes/changes/ChangesList.php
@@ -351,12 +351,13 @@ class ChangesList extends ContextSource {
} else {
$formattedSizeClass = 'mw-plusminus-neg';
}
+ $formattedSizeClass .= ' mw-diff-bytes';
$formattedTotalSize = $context->msg( 'rc-change-size-new' )->numParams( $new )->text();
return Html::element( $tag,
[ 'dir' => 'ltr', 'class' => $formattedSizeClass, 'title' => $formattedTotalSize ],
- $context->msg( 'parentheses', $formattedSize )->plain() ) . $lang->getDirMark();
+ $formattedSize ) . $lang->getDirMark();
}
/**
@@ -531,10 +532,10 @@ class ChangesList extends ContextSource {
public function getTimestamp( $rc ) {
// @todo FIXME: Hard coded ". .". Is there a message for this? Should there be?
return $this->message['semicolon-separator'] . '' .
- $this->getLanguage()->userTime(
+ htmlspecialchars( $this->getLanguage()->userTime(
$rc->mAttribs['rc_timestamp'],
$this->getUser()
- ) . ' . . ';
+ ) ) . ' . . ';
}
/**