Remove verboseness (image and infobox) in Special:Contributions for diff size display...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 16 May 2011 17:51:44 +0000 (17:51 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 16 May 2011 17:51:44 +0000 (17:51 +0000)
includes/specials/SpecialContributions.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 0ca98b2..86ff1c3 100644 (file)
@@ -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'] ) . '<br />'.
-                                       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' ) ) .
index 9da1c91..0bc0fba 100644 (file)
@@ -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',
index 80b0d17..43a4a6d 100644 (file)
@@ -2016,7 +2016,6 @@ $wgMessageStructure = array(
                'sp-contributions-footer',
                'sp-contributions-footer-anon',
                'sp-contributions-showsizediff',
-               'sp-contributions-showsizediff-warn',
        ),
        'whatlinkshere' => array(
                'whatlinkshere',