From: Aaron Schulz Date: Sat, 12 Sep 2009 17:46:51 +0000 (+0000) Subject: bug 20470 Edits with user/IP suppression are now marked X-Git-Tag: 1.31.0-rc.0~39769 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=4f15b8ae355c4f44525aa38a719ca21da12b3b55;p=lhc%2Fweb%2Fwiklou.git bug 20470 Edits with user/IP suppression are now marked --- diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index b1359f3ba5..beed2a73fd 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -658,6 +658,11 @@ class ContribsPager extends ReverseChronologicalPager { } $ret = "{$del}{$d} {$histlink} {$difftext} {$nflag}{$mflag} {$link}{$userlink} {$comment} {$topmarktext}"; + + # Denote if username is redacted for this edit + if( $rev->getVisibility() & Revision::DELETED_USER ) { + $ret .= " " . wfMsgHtml('rev-deleted-user') . ""; + } # Tags, if any. list($tagSummary, $newClasses) = ChangeTags::formatSummaryRow( $row->ts_tags, 'contributions' );