dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1f1cdee
)
Merge "Change Language::timeanddate to userTimeAndDate in RevisionList"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 13 Apr 2015 16:49:36 +0000
(16:49 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 13 Apr 2015 16:49:36 +0000
(16:49 +0000)
includes/RevisionList.php
patch
|
blob
|
history
diff --git
a/includes/RevisionList.php
b/includes/RevisionList.php
index
d10b541
..
0f77111
100644
(file)
--- a/
includes/RevisionList.php
+++ b/
includes/RevisionList.php
@@
-338,7
+338,8
@@
class RevisionItem extends RevisionItemBase {
* @return string
*/
protected function getRevisionLink() {
- $date = $this->list->getLanguage()->timeanddate( $this->revision->getTimestamp(), true );
+ $date = htmlspecialchars( $this->list->getLanguage()->userTimeAndDate(
+ $this->revision->getTimestamp(), $this->list->getUser() ) );
if ( $this->isDeleted() && !$this->canViewContent() ) {
return $date;
}