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.

This commit is contained in:
Siebrand Mazeland 2009-06-12 23:34:02 +00:00
parent 07388a1de1
commit 91fff407fb

View 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,