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:
parent
07388a1de1
commit
91fff407fb
1 changed files with 9 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue