Fix double escaping issues. Related to r51559 and friends.
[lhc/web/wiklou.git] / includes / specials / SpecialContributions.php
index 63ae3c8..a61a9ea 100644 (file)
@@ -168,7 +168,7 @@ class SpecialContributions extends SpecialPage {
                                        array(),
                                        array(
                                                'type' => 'block',
-                                               'page' => $nt->getPrefixedUrl()
+                                               'page' => $nt->getPrefixedText()
                                        )
                                );
                        }
@@ -177,7 +177,7 @@ class SpecialContributions extends SpecialPage {
                                SpecialPage::getTitleFor( 'Log' ),
                                wfMsg( 'sp-contributions-logs' ),
                                array(),
-                               array( 'user' => $nt->getPartialUrl() )
+                               array( 'user' => $nt->getText() )
                        );
 
                        # Add link to deleted user contributions for priviledged users