Revision: 46193
Author: siebrand
Date: 2009-01-25 11:29:26 +0000 (Sun, 25 Jan 2009)
Log Message:
-----------
Split date and time in 'usercreated'
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialListusers.php
trunk/phase3/languages/messages/MessagesEn.php
Modified: trunk/phase3/includes/specials/SpecialListusers.php
===================================================================
--- trunk/phase3/includes/specials/SpecialListusers.php 2009-01-25 11:22:41 UTC
(rev 46192)
+++ trunk/phase3/includes/specials/SpecialListusers.php 2009-01-25 11:29:26 UTC
(rev 46193)
@@ -142,8 +142,9 @@
$created = '';
# Some rows may be NULL
if( $row->creation ) {
- $d = $wgLang->timeanddate( wfTimestamp( TS_MW,
$row->creation ), true );
- $created = ' (' . wfMsgHtml( 'usercreated', $d ) . ')';
+ $d = $wgLang->date( wfTimestamp( TS_MW, $row->creation
), true );
+ $t = $wgLang->time( wfTimestamp( TS_MW, $row->creation
), true );
+ $created = ' (' . wfMsgHtml( 'usercreated', $d, $t ) .
')';
}
wfRunHooks( 'SpecialListusersFormatRow', array( &$item, $row )
);
Modified: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php 2009-01-25 11:22:41 UTC
(rev 46192)
+++ trunk/phase3/languages/messages/MessagesEn.php 2009-01-25 11:29:26 UTC
(rev 46193)
@@ -2133,7 +2133,7 @@
'listusers-editsonly' => 'Show only users with edits',
'listusers-creationsort' => 'Sort by creation date',
'usereditcount' => '$1 {{PLURAL:$1|edit|edits}}',
-'usercreated' => 'Created on $1',
+'usercreated' => 'Created on $1 at $2',
'newpages' => 'New pages',
'newpages-summary' => '', # do not translate or duplicate this
message to other languages
'newpages-username' => 'Username:',
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs