* (bug 19097) Small changes to Special:DoubleRedirects
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 21 Jul 2009 12:02:34 +0000 (12:02 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 21 Jul 2009 12:02:34 +0000 (12:02 +0000)
** Use 'editlink' message instead of 'qbedit'
** Use parentheses message instead of hardcoded parentheses
Based on a patch by Ahmad Sherif

includes/specials/SpecialDoubleRedirects.php

index 4fe3293..4b3d3f4 100644 (file)
@@ -86,9 +86,9 @@ class DoubleRedirectsPage extends PageQueryPage {
                        array(),
                        array( 'redirect' => 'no' )
                );
-               $edit = $skin->link(
+               $edit = $skin->linkKnown(
                        $titleA,
-                       "(" . wfMsgHtml( 'qbedit' ) . ")",
+                       wfMsg( 'parentheses', wfMsgHtml( 'editlink' ) ),
                        array(),
                        array(
                                'redirect' => 'no',