From b9b85843572bf283f48285001e276ba7e61b63f6 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Feb 2009 13:37:51 +0100 Subject: updated to MediaWiki 1.14.0 --- includes/FileRevertForm.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/FileRevertForm.php') diff --git a/includes/FileRevertForm.php b/includes/FileRevertForm.php index 385d83bc..c7c73246 100644 --- a/includes/FileRevertForm.php +++ b/includes/FileRevertForm.php @@ -57,7 +57,7 @@ class FileRevertForm { } if( !$this->haveOldVersion() ) { - $wgOut->addHtml( wfMsgExt( 'filerevert-badversion', 'parse' ) ); + $wgOut->addHTML( wfMsgExt( 'filerevert-badversion', 'parse' ) ); $wgOut->returnToMain( false, $this->title ); return; } @@ -69,7 +69,7 @@ class FileRevertForm { // TODO: Preserve file properties from database instead of reloading from file $status = $this->file->upload( $source, $comment, $comment ); if( $status->isGood() ) { - $wgOut->addHtml( wfMsgExt( 'filerevert-success', 'parse', $this->title->getText(), + $wgOut->addHTML( wfMsgExt( 'filerevert-success', 'parse', $this->title->getText(), $wgLang->date( $this->getTimestamp(), true ), $wgLang->time( $this->getTimestamp(), true ), wfExpandUrl( $this->file->getArchiveUrl( $this->archiveName ) ) ) ); @@ -104,7 +104,7 @@ class FileRevertForm { $form .= ''; $form .= ''; - $wgOut->addHtml( $form ); + $wgOut->addHTML( $form ); } /** -- cgit v1.2.2