From f3ed84491e44ed936351e90963794fe931be7447 Mon Sep 17 00:00:00 2001 From: Purodha B Blissenbach Date: Mon, 1 Jun 2009 21:29:31 +0000 Subject: [PATCH] Message 'filehist-thumbtext' - date and time separated as of request by user "Der Umherirrende" at http://translatewiki.net/w/i.php?title=Support&oldid=1243738#split_date_and_time --- includes/ImagePage.php | 5 ++++- languages/messages/MessagesQqq.php | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 3120e53d22..132f7f8b72 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -939,7 +939,10 @@ class ImageHistoryList { $thumbnail = $file->transform( $params ); $options = array( - 'alt' => wfMsg( 'filehist-thumbtext', $wgLang->timeAndDate( $timestamp, true ) ), + 'alt' => wfMsg( 'filehist-thumbtext', + $wgLang->timeAndDate( $timestamp, true ), + $wgLang->date( $timestamp, true ), + $wgLang->time( $timestamp, true ) ), 'file-link' => true, ); diff --git a/languages/messages/MessagesQqq.php b/languages/messages/MessagesQqq.php index db8c5ddecd..fb030bed26 100644 --- a/languages/messages/MessagesQqq.php +++ b/languages/messages/MessagesQqq.php @@ -1359,7 +1359,10 @@ Parameter $1 is a link to the deletion log, with the text in {{msg|deletionlog}} 'filehist-thumb' => 'Shown in the file history list of a file desription page. Example: [[:Image:Addon-icn.png]]', -'filehist-thumbtext' => "Shown in the file history list of a file description page. '''$1''' is a time followed by a date, e.g. ''10:23, 18 april 2007''. +'filehist-thumbtext' => "Shown in the file history list of a file description page. +* '''$1''' is a time followed by a date, e.g. ''10:23, 18 april 2007''. +* '''$2''' is the date, +* '''$3''' is the time. Example: [[wikipedia:Image:Madeleine close2.jpg]]", 'filehist-nothumb' => 'Shown if no thumbnail is available in the file history list of a file desription page. -- 2.20.1