Message 'history-feed-item-nocomment' - date and time separated as of request by...
authorPurodha B Blissenbach <purodha@users.mediawiki.org>
Mon, 1 Jun 2009 21:22:56 +0000 (21:22 +0000)
committerPurodha B Blissenbach <purodha@users.mediawiki.org>
Mon, 1 Jun 2009 21:22:56 +0000 (21:22 +0000)
http://translatewiki.net/w/i.php?title=Support&oldid=1243738#split_date_and_time

includes/PageHistory.php
languages/messages/MessagesQqq.php

index 56e9e18..923d47c 100644 (file)
@@ -560,9 +560,12 @@ class PageHistory {
 
                if( $rev->getComment() == '' ) {
                        global $wgContLang;
+                       $ts = $rev->getTimestamp();
                        $title = wfMsgForContent( 'history-feed-item-nocomment',
-                       $rev->getUserText(),
-                       $wgContLang->timeanddate( $rev->getTimestamp() ) );
+                               $rev->getUserText(),
+                               $wgContLang->timeanddate( $ts ),
+                               $wgContLang->date( $ts ),
+                               $wgContLang->time( $ts ) );
                } else {
                        $title = $rev->getUserText() . wfMsgForContent( 'colon-separator' ) . FeedItem::stripComment( $rev->getComment() );
                }
index e044a30..db8c5dd 100644 (file)
@@ -738,10 +738,10 @@ Please report at [[Support]] if you are unable to properly translate this messag
 
 # Revision feed
 'history-feed-item-nocomment' => "Title for each revision when viewing the RSS/Atom feed for a page history:
-
-'''$1''' - user name
-
-'''$2''' - date/time",
+* '''$1''' - user name,
+* '''$2''' - date/time,
+* '''$3''' - date,
+* '''$4''' - time.",
 
 # Revision deletion
 'rev-delundel'              => 'Link in page history for oversight',