bug 20470 Edits with user/IP suppression are now marked
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 12 Sep 2009 17:46:51 +0000 (17:46 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 12 Sep 2009 17:46:51 +0000 (17:46 +0000)
includes/specials/SpecialContributions.php

index b1359f3..beed2a7 100644 (file)
@@ -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 .= " <strong>" . wfMsgHtml('rev-deleted-user') . "</strong>";
+               }
 
                # Tags, if any.
                list($tagSummary, $newClasses) = ChangeTags::formatSummaryRow( $row->ts_tags, 'contributions' );