$nondefaults = array();
wfAppendToArrayIfNotDefault( 'hidepatrolled', $this->hidepatrolled, $this->defaults, $nondefaults);
wfAppendToArrayIfNotDefault( 'hideliu', $this->hideliu, $this->defaults, $nondefaults);
+ wfAppendToArrayIfNotDefault( 'hidebots', $this->hidebots, $this->defaults, $nondefaults);
wfAppendToArrayIfNotDefault( 'namespace', $this->namespace, $this->defaults, $nondefaults);
wfAppendToArrayIfNotDefault( 'limit', $this->limit , $this->defaults, $nondefaults);
wfAppendToArrayIfNotDefault( 'offset', $this->offset , $this->defaults, $nondefaults);
}
}
} else {
- if( $ns = $wgRequest->getText( 'namespace', NS_MAIN ) )
+ if( $ns = $wgRequest->getInt( 'namespace', NS_MAIN ) )
$namespace = $ns;
if( $un = $wgRequest->getText( 'username' ) )
$username = $un;