r51311 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51310‎ | r51311 | r51312 >
Date:21:29, 1 June 2009
Author:purodha
Status:ok
Tags:
Comment:
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
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesQqq.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -939,7 +939,10 @@
940940
941941 $thumbnail = $file->transform( $params );
942942 $options = array(
943 - 'alt' => wfMsg( 'filehist-thumbtext', $wgLang->timeAndDate( $timestamp, true ) ),
 943+ 'alt' => wfMsg( 'filehist-thumbtext',
 944+ $wgLang->timeAndDate( $timestamp, true ),
 945+ $wgLang->date( $timestamp, true ),
 946+ $wgLang->time( $timestamp, true ) ),
944947 'file-link' => true,
945948 );
946949
Index: trunk/phase3/languages/messages/MessagesQqq.php
@@ -1359,7 +1359,10 @@
13601360 'filehist-thumb' => 'Shown in the file history list of a file desription page.
13611361
13621362 Example: [[:Image:Addon-icn.png]]',
1363 -'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''.
 1363+'filehist-thumbtext' => "Shown in the file history list of a file description page.
 1364+* '''$1''' is a time followed by a date, e.g. ''10:23, 18 april 2007''.
 1365+* '''$2''' is the date,
 1366+* '''$3''' is the time.
13641367
13651368 Example: [[wikipedia:Image:Madeleine close2.jpg]]",
13661369 'filehist-nothumb' => 'Shown if no thumbnail is available in the file history list of a file desription page.

Status & tagging log