Fix casing on OutputPage::setPageTitle() call and pass it a Message object
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Feb 2012 15:36:49 +0000 (15:36 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 11 Feb 2012 15:36:49 +0000 (15:36 +0000)
includes/specials/SpecialMovepage.php

index 12fdeed..5d1370d 100644 (file)
@@ -458,7 +458,7 @@ class MovePageForm extends UnlistedSpecialPage {
                wfRunHooks( 'SpecialMovepageAfterMove', array( &$this, &$ot, &$nt ) );
 
                $out = $this->getOutput();
-               $out->setPagetitle( wfMsg( 'pagemovedsub' ) );
+               $out->setPageTitle( $this->msg( 'pagemovedsub' ) );
 
                $oldLink = Linker::link(
                        $ot,