From 91fff407fbdcddb357ec55f1d44a025ce77f2cd4 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 12 Jun 2009 23:34:02 +0000 Subject: [PATCH] convert deprecated makeBrokenLinkObj() to link(). Changed behaviour of the link. It is no longer a broken link. Edit didn't work. Added that in the query parameters. --- includes/specials/SpecialDoubleRedirects.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialDoubleRedirects.php b/includes/specials/SpecialDoubleRedirects.php index 78ab341152..4fe32938fd 100644 --- a/includes/specials/SpecialDoubleRedirects.php +++ b/includes/specials/SpecialDoubleRedirects.php @@ -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, -- 2.20.1