r51308 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51307‎ | r51308 | r51309 >
Date:21:11, 1 June 2009
Author:purodha
Status:ok
Tags:
Comment:
Message 'rcnotefrom' - 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/specials/SpecialRecentchanges.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesQqq.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRecentchanges.php
@@ -623,7 +623,9 @@
624624 if( $options['from'] ) {
625625 $note .= wfMsgExt( 'rcnotefrom', array( 'parseinline' ),
626626 $wgLang->formatNum( $options['limit'] ),
627 - $wgLang->timeanddate( $options['from'], true ) ) . '<br />';
 627+ $wgLang->timeanddate( $options['from'], true ),
 628+ $wgLang->date( $options['from'], true ),
 629+ $wgLang->time( $options['from'], true ) ) . '<br />';
628630 }
629631
630632 # Sort data for display and make sure it's unique after we've added user data.
Index: trunk/phase3/languages/messages/MessagesQqq.php
@@ -1229,7 +1229,9 @@
12301230 'rcnotefrom' => 'This message is displayed at [[Special:RecentChanges]] when viewing recentchanges from some specific time.
12311231
12321232 Parameter $1 is the maximum number of changes that are displayed.
1233 -Parameter $2 is a date and time.',
 1233+Parameter $2 is a date and time.
 1234+Parameter $3 is a date.
 1235+Parameter $4 is a time.',
12341236 'rclistfrom' => 'Used on [[Special:RecentChanges]]. Parameter $1 is a date.',
12351237 'rcshowhideminor' => 'Option text in [[Special:RecentChanges]]',
12361238 'rcshowhidebots' => "Option text in [[Special:RecentChanges]]. $1 is the 'show/hide' command, with the text taken from either [[Mediawiki:Show]] or [[Mediawiki:Hide]].

Status & tagging log