From: Purodha B Blissenbach Date: Mon, 20 Jul 2009 02:14:54 +0000 (+0000) Subject: Allow date/time separation in the data following MediaWiki:prefs-registration X-Git-Tag: 1.31.0-rc.0~40814 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=567e1d6bc68283e5cc0798452b60efc28868c39e;p=lhc%2Fweb%2Fwiklou.git Allow date/time separation in the data following MediaWiki:prefs-registration --- diff --git a/includes/Preferences.php b/includes/Preferences.php index 7e068b0851..27284616e9 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -143,7 +143,10 @@ class Preferences { array( 'type' => 'info', 'label-message' => 'prefs-registration', - 'default' => $wgLang->timeanddate( $user->getRegistration(), true ), + 'default' => wfMsgExt( 'prefs-registration-date-time', 'parsemag', + $wgLang->timeanddate( $user->getRegistration(), true ), + $wgLang->date( $user->getRegistration(), true ), + $wgLang->time( $user->getRegistration(), true ) ), 'section' => 'personal/info', ); } diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 8252f297f9..27f1a867d3 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1755,6 +1755,7 @@ This cannot be undone.', 'uid' => 'User ID:', 'prefs-memberingroups' => 'Member of {{PLURAL:$1|group|groups}}:', 'prefs-registration' => 'Registration time:', +'prefs-registration-date-time' => '$1', 'yourrealname' => 'Real name:', 'yourlanguage' => 'Language:', 'yourvariant' => 'Variant:', # only translate this message to other languages if you have to change it