From c0df17acc7e744d5ecef4d5ac0ad230f61897e19 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 16 May 2011 17:51:44 +0000 Subject: [PATCH] Remove verboseness (image and infobox) in Special:Contributions for diff size display as added in r88111. --- includes/specials/SpecialContributions.php | 6 +----- languages/messages/MessagesEn.php | 1 - maintenance/language/messages.inc | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 0ca98b29ab..86ff1c3827 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -380,11 +380,7 @@ class SpecialContributions extends SpecialPage { Xml::label( wfMsg( 'namespace' ), 'namespace' ) . ' ' . Xml::namespaceSelector( $this->opts['namespace'], '' ) ); - $fShowDiff = Xml::infoBox( - Xml::checkLabel( wfMsg( 'sp-contributions-showsizediff' ), 'showSizeDiff', 'mw-show-size-diff', $this->opts['showSizeDiff'] ) . '
'. - wfMsgReplaceArgs ( wfMsg( 'sp-contributions-showsizediff-warn' ), array( $wgContLang->formatTimePeriod( $wgRCMaxAge ) ) ) - , 'warning-32.png', wfMsg( 'sp-contributions-showsizediff' ) - ); + $fShowDiff = Xml::checkLabel( wfMsg( 'sp-contributions-showsizediff' ), 'showSizeDiff', 'mw-show-size-diff', $this->opts['showSizeDiff'] ); } $f .= Xml::fieldset( wfMsg( 'sp-contributions-search' ) ) . diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 9da1c91cff..0bc0fba984 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2994,7 +2994,6 @@ The latest block log entry is provided below for reference:', 'sp-contributions-footer' => '-', # do not translate or duplicate this message to other languages 'sp-contributions-footer-anon' => '-', # do not translate or duplicate this message to other languages 'sp-contributions-showsizediff' => 'Display difference in page size', -'sp-contributions-showsizediff-warn' => 'This instance has recent changes log limited to $1 . If you use this option, pages not in this log will not be displayed', # What links here 'whatlinkshere' => 'What links here', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 80b0d175e1..43a4a6d7d6 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -2016,7 +2016,6 @@ $wgMessageStructure = array( 'sp-contributions-footer', 'sp-contributions-footer-anon', 'sp-contributions-showsizediff', - 'sp-contributions-showsizediff-warn', ), 'whatlinkshere' => array( 'whatlinkshere', -- 2.20.1