Per Nikerabbit's comment on r100621:
[lhc/web/wiklou.git] / includes / Article.php
index 4794eee..546e2d9 100644 (file)
@@ -1334,7 +1334,7 @@ class Article extends Page {
                        return;
                }
 
-               $wgOut->setPagetitle( wfMsg( 'delete-confirm', $this->getTitle()->getPrefixedText() ) );
+               $wgOut->setPageTitle( wfMessage( 'delete-confirm', $this->getTitle()->getPrefixedText() ) );
 
                # Better double-check that it hasn't been deleted yet!
                $dbw = wfGetDB( DB_MASTER );
@@ -1529,7 +1529,7 @@ class Article extends Page {
                if ( $this->mPage->doDeleteArticle( $reason, $suppress, $id, $error ) ) {
                        $deleted = $this->getTitle()->getPrefixedText();
 
-                       $wgOut->setPagetitle( wfMsg( 'actioncomplete' ) );
+                       $wgOut->setPageTitle( wfMessage( 'actioncomplete' ) );
                        $wgOut->setRobotPolicy( 'noindex,nofollow' );
 
                        $loglink = '[[Special:Log/delete|' . wfMsgNoTrans( 'deletionlog' ) . ']]';