Whitespace and paranoia
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 30 Nov 2003 01:33:58 +0000 (01:33 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 30 Nov 2003 01:33:58 +0000 (01:33 +0000)
includes/SpecialContributions.php

index 6e8f563..ada2513 100644 (file)
@@ -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( "<p>{$top}\n" );