From: Purodha B Blissenbach Date: Mon, 1 Jun 2009 21:22:56 +0000 (+0000) Subject: Message 'history-feed-item-nocomment' - date and time separated as of request by... X-Git-Tag: 1.31.0-rc.0~41552 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=8cce19df7ec81c794417fd0b776bc27f3768108e;p=lhc%2Fweb%2Fwiklou.git Message 'history-feed-item-nocomment' - 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 --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 56e9e183ef..923d47c070 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -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() ); } diff --git a/languages/messages/MessagesQqq.php b/languages/messages/MessagesQqq.php index e044a30464..db8c5ddecd 100644 --- a/languages/messages/MessagesQqq.php +++ b/languages/messages/MessagesQqq.php @@ -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',