From 9b20e289d33c90263f3ca1ee1020913be73dbaa9 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 20 Nov 2008 11:02:42 +0000 Subject: [PATCH] Update 'undelete-show-file-confirm' to allow time and date to be used separately. --- includes/specials/SpecialUndelete.php | 3 ++- languages/messages/MessagesEn.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.20.1