From 4b37e2acee2140a50d8e3b968814d1c30b312338 Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Fri, 22 Jul 2011 22:50:03 +0000 Subject: [PATCH] in "marked version X of [[Page]] patrolled" on IRC, the "version" displays according to the user language. If this is the correct fix (didn't test), it can perhaps be merged with 1.18 and 1.17wmf1. --- includes/PatrolLog.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/PatrolLog.php b/includes/PatrolLog.php index 0df48a8576..480337a113 100644 --- 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]]", '' ); } } -- 2.20.1