Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewList.php |
— | — | @@ -255,10 +255,15 @@ |
256 | 256 | $row->af_user, |
257 | 257 | $row->af_user_text |
258 | 258 | ); |
| 259 | + $user = $row->af_user_text; |
259 | 260 | return wfMsgExt( |
260 | 261 | 'abusefilter-edit-lastmod-text', |
261 | 262 | array( 'replaceafter', 'parseinline' ), |
262 | | - array( $wgLang->timeanddate( $value, true ), $userLink ) |
| 263 | + array( $wgLang->timeanddate( $value, true ), |
| 264 | + $userLink, |
| 265 | + $wgLang->date( $value, true ), |
| 266 | + $wgLang->time( $value, true ), |
| 267 | + $user ) |
263 | 268 | ); |
264 | 269 | default: |
265 | 270 | throw new MWException( "Unknown row type $name!" ); |
Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php |
— | — | @@ -348,14 +348,19 @@ |
349 | 349 | ) |
350 | 350 | ); |
351 | 351 | // Last modification details |
352 | | - $user = |
| 352 | + $userLink = |
353 | 353 | $sk->userLink( $row->af_user, $row->af_user_text ) . |
354 | 354 | $sk->userToolLinks( $row->af_user, $row->af_user_text ); |
| 355 | + $user = $row->af_user_text; |
355 | 356 | $fields['abusefilter-edit-lastmod'] = |
356 | 357 | wfMsgExt( |
357 | 358 | 'abusefilter-edit-lastmod-text', |
358 | 359 | array( 'parseinline', 'replaceafter' ), |
359 | | - array( $wgLang->timeanddate( $row->af_timestamp, true ), $user ) |
| 360 | + array( $wgLang->timeanddate( $row->af_timestamp, true ), |
| 361 | + $userLink, |
| 362 | + $wgLang->date( $row->af_timestamp, true ), |
| 363 | + $wgLang->time( $row->af_timestamp, true ), |
| 364 | + $user ) |
360 | 365 | ); |
361 | 366 | $history_display = wfMsgExt( 'abusefilter-edit-viewhistory', array( 'parseinline' ) ); |
362 | 367 | $fields['abusefilter-edit-history'] = |
Index: trunk/extensions/AbuseFilter/AbuseFilter.i18n.php |
— | — | @@ -530,8 +530,11 @@ |
531 | 531 | 'abusefilter-edit-status-label' => '{{Identical|Statistics}}', |
532 | 532 | 'abusefilter-edit-id' => '{{Identical|Filter ID}}', |
533 | 533 | 'abusefilter-edit-lastmod-text' => 'This message is used on Special:AbuseFilter to indicate the last modified date, time and user for existing rules. |
534 | | -* $1 is a time and date |
535 | | -* $2 is a link to a user page with a user name as link text', |
| 534 | +* $1 is a time and date (duplicated in $3 and $4) |
| 535 | +* $2 is a link to a user page with a user name as link text, followed by a series of related links |
| 536 | +* $3 is the date |
| 537 | +* $4 is the time |
| 538 | +* $5 is the user name which can be used with GENDER', |
536 | 539 | 'abusefilter-edit-history' => '{{Identical|History}}', |
537 | 540 | 'abusefilter-edit-builder-misc-in' => 'Do not translate "(in)"', |
538 | 541 | 'abusefilter-edit-builder-misc-like' => 'Do not translate "(like)"', |