Fix up r51559: Linker::link() expects Title objects, not strings
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 15 Jun 2009 13:50:05 +0000 (13:50 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 15 Jun 2009 13:50:05 +0000 (13:50 +0000)
includes/EditPage.php

index 020af5e..9fc27c8 100644 (file)
@@ -1288,7 +1288,7 @@ class EditPage {
                $subject = wfMsgExt( 'subject', 'parseinline' );
 
                $cancel = $sk->link(
-                       $wgTitle->getPrefixedText(),
+                       $wgTitle,
                        wfMsgExt( 'cancel', array( 'parseinline' ) ),
                        array(),
                        array(),