convert deprecated makeBrokenLinkObj() to link(). Changed behaviour of the link....
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 12 Jun 2009 23:34:02 +0000 (23:34 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 12 Jun 2009 23:34:02 +0000 (23:34 +0000)
includes/specials/SpecialDoubleRedirects.php

index 78ab341..4fe3293 100644 (file)
@@ -86,7 +86,15 @@ class DoubleRedirectsPage extends PageQueryPage {
                        array(),
                        array( 'redirect' => 'no' )
                );
-               $edit = $skin->makeBrokenLinkObj( $titleA, "(".wfMsgHtml("qbedit").")" , 'redirect=no');
+               $edit = $skin->link(
+                       $titleA,
+                       "(" . wfMsgHtml( 'qbedit' ) . ")",
+                       array(),
+                       array(
+                               'redirect' => 'no',
+                               'action' => 'edit'
+                       )
+               );
                $linkB = $skin->linkKnown(
                        $titleB,
                        null,