From 244c6e5fd826a62041010003799fbc7f6f506dfc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 23 Nov 2011 00:48:48 +0000 Subject: [PATCH] Revert r103770 (bug 24037) -- added full-page size to Special:Contribs which doesn't seem to be what we want here? --- includes/specials/SpecialContributions.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index a6741bf0bb..6a52033bdc 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -712,12 +712,6 @@ class ContribsPager extends ReverseChronologicalPager { $mflag = ''; } - if ( !is_null( $rev->getSize() ) && !$rev->isDeleted( Revision::DELETED_TEXT ) ) { - $mSize = $this->getSkin()->formatRevisionSize( $rev->getSize() ); - } else { - $mSize = ''; - } - // Don't show useless link to people who cannot hide revisions $canHide = $user->isAllowed( 'deleterevision' ); if( $canHide || ($rev->getVisibility() && $user->isAllowed('deletedhistory')) ) { @@ -738,7 +732,7 @@ class ContribsPager extends ReverseChronologicalPager { } $diffHistLinks = '(' . $difftext . $this->messages['pipe-separator'] . $histlink . ')'; - $ret = "{$del}{$d} {$diffHistLinks}{$chardiff}{$nflag}{$mflag} {$link}{$userlink} {$mSize} {$comment} {$topmarktext}"; + $ret = "{$del}{$d} {$diffHistLinks}{$chardiff}{$nflag}{$mflag} {$link}{$userlink} {$comment} {$topmarktext}"; # Denote if username is redacted for this edit if( $rev->isDeleted( Revision::DELETED_USER ) ) { -- 2.20.1