r56234 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56233‎ | r56234 | r56235 >
Date:17:46, 12 September 2009
Author:aaron
Status:ok
Tags:
Comment:
bug 20470 Edits with user/IP suppression are now marked
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -658,6 +658,11 @@
659659 }
660660
661661 $ret = "{$del}{$d} {$histlink} {$difftext} {$nflag}{$mflag} {$link}{$userlink} {$comment} {$topmarktext}";
 662+
 663+ # Denote if username is redacted for this edit
 664+ if( $rev->getVisibility() & Revision::DELETED_USER ) {
 665+ $ret .= " <strong>" . wfMsgHtml('rev-deleted-user') . "</strong>";
 666+ }
662667
663668 # Tags, if any.
664669 list($tagSummary, $newClasses) = ChangeTags::formatSummaryRow( $row->ts_tags, 'contributions' );

Status & tagging log