From: Roan Kattouw Date: Mon, 15 Jun 2009 13:50:05 +0000 (+0000) Subject: Fix up r51559: Linker::link() expects Title objects, not strings X-Git-Tag: 1.31.0-rc.0~41364 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=176159512de6cfaa8f8651f31fe52977314bbe90;p=lhc%2Fweb%2Fwiklou.git Fix up r51559: Linker::link() expects Title objects, not strings --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 020af5e26f..9fc27c8941 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1288,7 +1288,7 @@ class EditPage { $subject = wfMsgExt( 'subject', 'parseinline' ); $cancel = $sk->link( - $wgTitle->getPrefixedText(), + $wgTitle, wfMsgExt( 'cancel', array( 'parseinline' ) ), array(), array(),