From: Brion Vibber Date: Sun, 30 Nov 2003 01:33:58 +0000 (+0000) Subject: Whitespace and paranoia X-Git-Tag: 1.1.0~51 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=1882da74f6d745af17968940542a4bc21fc2853b;p=lhc%2Fweb%2Fwiklou.git Whitespace and paranoia --- diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 6e8f56353e..ada251314f 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -17,6 +17,7 @@ function wfSpecialContributions( $par = "" ) } list( $limit, $offset ) = wfCheckLimits( 50, "" ); $offlimit = $limit + $offset; + $hideminor = ($hideminor ? 1 : 0); $nt = Title::newFromURL( $target ); $nt->setNamespace( Namespace::getUser() ); @@ -43,11 +44,11 @@ function wfSpecialContributions( $par = "" ) WfMsg( "show" ), "target=" . wfEscapeHTML( $nt->getPrefixedURL() ) . "&offset={$offset}&limit={$limit}&hideminor=0" ); } else { - $cmq = $omq = ""; + $cmq = $omq = ""; $mlink = $sk->makeKnownLink( $wgLang->specialPage( "Contributions" ), WfMsg( "hide" ), "target=" . wfEscapeHTML( $nt->getPrefixedURL() ) . "&offset={$offset}&limit={$limit}&hideminor=1" ); - } + } $top = wfShowingResults( $offset, $limit ); $wgOut->addHTML( "

{$top}\n" );