aboutsummaryrefslogtreecommitdiffstats
path: root/includes/FileDeleteForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/FileDeleteForm.php')
-rw-r--r--includes/FileDeleteForm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php
index ca195d88fc0e..e70d551f1fed 100644
--- a/includes/FileDeleteForm.php
+++ b/includes/FileDeleteForm.php
@@ -78,7 +78,7 @@ class FileDeleteForm {
$wgOut->addHTML( '</span>' );
}
if( $status->ok ) {
- $wgOut->setPagetitle( wfMsg( 'actioncomplete' ) );
+ $wgOut->setPageTitleMsg( 'actioncomplete' );
$wgOut->addHTML( $this->prepareMessage( 'filedelete-success' ) );
// Return to the main page if we just deleted all versions of the
// file, otherwise go back to the description page
@@ -271,7 +271,7 @@ class FileDeleteForm {
*/
private function setHeaders() {
global $wgOut;
- $wgOut->setPageTitle( wfMsg( 'filedelete', $this->title->getText() ) );
+ $wgOut->setPageTitleMsg( 'filedelete', $this->title->getText() );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
$wgOut->setSubtitle( wfMsg(
'filedelete-backlink',