SpecialMergeHistory: HTML escape link text
authorFomafix <fomafix@googlemail.com>
Sun, 17 Jan 2016 13:42:11 +0000 (13:42 +0000)
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>
Sun, 17 Jan 2016 14:30:41 +0000 (14:30 +0000)
Linker::link expects HTML as second parameter. Text must HTML encoded.
The value null automatically use the escaped getPrefixedText() value.

Change-Id: Idb2a31ec8db92d930415a4964e955bdf1653b0de

includes/specials/SpecialMergeHistory.php

index 2607330..0a25180 100644 (file)
@@ -482,7 +482,7 @@ class SpecialMergeHistory extends SpecialPage {
 
                $targetLink = Linker::link(
                        $targetTitle,
-                       $targetTitle->getPrefixedText(),
+                       null,
                        array(),
                        array( 'redirect' => 'no' )
                );