Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -670,6 +670,7 @@ |
671 | 671 | 'rev-suppressed-unhide-diff', |
672 | 672 | 'rev-deleted-diff-view', |
673 | 673 | 'rev-suppressed-diff-view', |
| 674 | + 'rev-deleted-user-contribs', |
674 | 675 | 'rev-delundel', |
675 | 676 | 'rev-showdeleted', |
676 | 677 | 'revisiondelete', |
Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -645,7 +645,7 @@ |
646 | 646 | |
647 | 647 | # Denote if username is redacted for this edit |
648 | 648 | if( $rev->isDeleted( Revision::DELETED_USER ) ) { |
649 | | - $ret .= " <strong>" . wfMsgHtml('rev-deleted-user') . "</strong>"; |
| 649 | + $ret .= " <strong>" . wfMsgHtml('rev-deleted-user-contribs') . "</strong>"; |
650 | 650 | } |
651 | 651 | |
652 | 652 | # Tags, if any. |
Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | 'user_text' => $row->ar_user_text, |
125 | 125 | 'timestamp' => $row->ar_timestamp, |
126 | 126 | 'minor_edit' => $row->ar_minor_edit, |
127 | | - 'deleted' => $row->ar_deleted, |
| 127 | + 'deleted' => $row->ar_deleted, |
128 | 128 | ) ); |
129 | 129 | |
130 | 130 | $page = Title::makeTitle( $row->ar_namespace, $row->ar_title ); |
— | — | @@ -212,12 +212,15 @@ |
213 | 213 | array( 'class' => 'mw-deletedcontribs-tools' ), |
214 | 214 | wfMsg( 'parentheses', $wgLang->pipeList( array( $last, $dellog, $reviewlink ) ) ) |
215 | 215 | ); |
| 216 | + |
| 217 | + $ret = "{$del}{$link} {$tools} . . {$mflag} {$pagelink} {$comment}"; |
| 218 | + |
| 219 | + # Denote if username is redacted for this edit |
| 220 | + if( $rev->isDeleted( Revision::DELETED_USER ) ) { |
| 221 | + $ret .= " <strong>" . wfMsgHtml('rev-deleted-user-contribs') . "</strong>"; |
| 222 | + } |
216 | 223 | |
217 | | - $ret = Html::rawElement( |
218 | | - 'li', |
219 | | - array(), |
220 | | - "{$del}{$link} {$tools} . . {$mflag} {$pagelink} {$comment}" |
221 | | - ) . "\n"; |
| 224 | + $ret = Html::rawElement( 'li', array(), $ret ) . "\n"; |
222 | 225 | |
223 | 226 | wfProfileOut( __METHOD__ ); |
224 | 227 | return $ret; |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1427,6 +1427,7 @@ |
1428 | 1428 | 'rev-deleted-comment' => '(comment removed)', |
1429 | 1429 | 'rev-deleted-user' => '(username removed)', |
1430 | 1430 | 'rev-deleted-event' => '(log action removed)', |
| 1431 | +'rev-deleted-user-contribs' => '[username or IP removed - edit hidden from contributions]', |
1431 | 1432 | 'rev-deleted-text-permission' => "This page revision has been '''deleted'''. |
1432 | 1433 | There may be details in the [{{fullurl:{{#Special:Log}}/delete|page={{FULLPAGENAMEE}}}} deletion log].", |
1433 | 1434 | 'rev-deleted-text-unhide' => "This page revision has been '''deleted'''. |