One more small fix, causes the URL to behave as the whole "if not default" thing...
authorRob Church <robchurch@users.mediawiki.org>
Tue, 18 Apr 2006 02:48:58 +0000 (02:48 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 18 Apr 2006 02:48:58 +0000 (02:48 +0000)
includes/SpecialWatchlist.php

index 60a4a72..28b39b6 100644 (file)
@@ -39,8 +39,8 @@ function wfSpecialWatchlist( $par ) {
 
        $defaults = array(
        /* float */ 'days' => floatval( $wgUser->getOption( 'watchlistdays' ) ), /* 3.0 or 0.5, watch further below */
-       /* bool  */ 'hideOwn' => $wgUser->getBoolOption( 'watchlisthideown' ),
-       /* bool  */ 'hideBots' => $wgUser->getBoolOption( 'watchlisthidebots' ),
+       /* bool  */ 'hideOwn' => (int)$wgUser->getBoolOption( 'watchlisthideown' ),
+       /* bool  */ 'hideBots' => (int)$wgUser->getBoolOption( 'watchlisthidebots' ),
                                'namespace' => 'all',
        );