dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c58df6
)
in "marked version X of [[Page]] patrolled" on IRC, the "version" displays according...
author
Robin Pepermans
<robin@users.mediawiki.org>
Fri, 22 Jul 2011 22:50:03 +0000
(22:50 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Fri, 22 Jul 2011 22:50:03 +0000
(22:50 +0000)
includes/PatrolLog.php
patch
|
blob
|
history
diff --git
a/includes/PatrolLog.php
b/includes/PatrolLog.php
index
0df48a8
..
480337a
100644
(file)
--- a/
includes/PatrolLog.php
+++ b/
includes/PatrolLog.php
@@
-67,7
+67,8
@@
class PatrolLog {
return wfMsgHtml( 'patrol-log-line', $diff, $link, $auto );
} else {
$text = $title->getPrefixedText();
- return wfMsgForContent( 'patrol-log-line', wfMsgHtml('patrol-log-diff',$cur), "[[$text]]", '' );
+ $diff = htmlspecialchars( wfMsgForContent( 'patrol-log-diff', $cur ) );
+ return wfMsgForContent( 'patrol-log-line', $diff, "[[$text]]", '' );
}
}