in "marked version X of [[Page]] patrolled" on IRC, the "version" displays according...
authorRobin Pepermans <robin@users.mediawiki.org>
Fri, 22 Jul 2011 22:50:03 +0000 (22:50 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Fri, 22 Jul 2011 22:50:03 +0000 (22:50 +0000)
includes/PatrolLog.php

index 0df48a8..480337a 100644 (file)
@@ -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]]", '' );
                }
        }