Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -122,6 +122,7 @@ |
123 | 123 | * (bug 29912) Unit tests break if parsertest tables are still present |
124 | 124 | * (bug 19186) Special:UserLogin's title on Special:SpecialPages now says |
125 | 125 | "create account" when the user cannot create an account |
| 126 | +* (bug 31818) 'usercreated' message now supports GENDER |
126 | 127 | |
127 | 128 | === API changes in 1.19 === |
128 | 129 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |
Index: trunk/phase3/includes/specials/SpecialListusers.php |
— | — | @@ -161,8 +161,7 @@ |
162 | 162 | if( $row->creation ) { |
163 | 163 | $d = $lang->date( wfTimestamp( TS_MW, $row->creation ), true ); |
164 | 164 | $t = $lang->time( wfTimestamp( TS_MW, $row->creation ), true ); |
165 | | - $created = ' (' . wfMsg( 'usercreated', $d, $t ) . ')'; |
166 | | - $created = htmlspecialchars( $created ); |
| 165 | + $created = ' (' . wfMsgExt( 'usercreated', array( 'parsemag', 'escape' ), $d, $t, $row->user_name ) . ')'; |
167 | 166 | } |
168 | 167 | |
169 | 168 | wfRunHooks( 'SpecialListusersFormatRow', array( &$item, $row ) ); |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2540,7 +2540,7 @@ |
2541 | 2541 | 'listusers-editsonly' => 'Show only users with edits', |
2542 | 2542 | 'listusers-creationsort' => 'Sort by creation date', |
2543 | 2543 | 'usereditcount' => '$1 {{PLURAL:$1|edit|edits}}', |
2544 | | -'usercreated' => 'Created on $1 at $2', |
| 2544 | +'usercreated' => '{{GENDER:$3|Created}} on $1 at $2', |
2545 | 2545 | 'newpages' => 'New pages', |
2546 | 2546 | 'newpages-summary' => '', # do not translate or duplicate this message to other languages |
2547 | 2547 | 'newpages-username' => 'Username:', |