Update 'undelete-show-file-confirm' to allow time and date to be used separately.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Thu, 20 Nov 2008 11:02:42 +0000 (11:02 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Thu, 20 Nov 2008 11:02:42 +0000 (11:02 +0000)
includes/specials/SpecialUndelete.php
languages/messages/MessagesEn.php

index d0418ed..872ff21 100644 (file)
@@ -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',
index 58936b8..87796e5 100644 (file)
@@ -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 "<nowiki>$1</nowiki>" from $2?',
+'undelete-show-file-confirm'   => 'Are you sure you want to view a deleted revision of the file "<nowiki>$1</nowiki>" from $2 at $3?',
 'undelete-show-file-submit'    => 'Yes',
 
 # Namespace form on various pages