From: Siebrand Mazeland Date: Thu, 20 Nov 2008 11:02:42 +0000 (+0000) Subject: Update 'undelete-show-file-confirm' to allow time and date to be used separately. X-Git-Tag: 1.31.0-rc.0~44257 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22messagerie%22%29%20.%20%22?a=commitdiff_plain;h=9b20e289d33c90263f3ca1ee1020913be73dbaa9;p=lhc%2Fweb%2Fwiklou.git Update 'undelete-show-file-confirm' to allow time and date to be used separately. --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index d0418edacd..872ff21c05 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -898,7 +898,8 @@ class UndeleteForm { $file = new ArchivedFile( $this->mTargetObj, '', $this->mFile ); $wgOut->addWikiMsg( 'undelete-show-file-confirm', $this->mTargetObj->getText(), - $wgLang->timeanddate( $file->getTimestamp() ) ); + $wgLang->date( $file->getTimestamp() ), + $wgLang->time( $file->getTimestamp() ) ); $wgOut->addHTML( Xml::openElement( 'form', array( 'method' => 'POST', diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 58936b8bb7..87796e5428 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2494,7 +2494,7 @@ It may have already been undeleted.', 'undelete-error-long' => 'Errors were encountered while undeleting the file: $1', -'undelete-show-file-confirm' => 'Are you sure you want to view a deleted revision of the file "$1" from $2?', +'undelete-show-file-confirm' => 'Are you sure you want to view a deleted revision of the file "$1" from $2 at $3?', 'undelete-show-file-submit' => 'Yes', # Namespace form on various pages