Whoops, introduced a bug in my last commit
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 11 Apr 2006 15:56:55 +0000 (15:56 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 11 Apr 2006 15:56:55 +0000 (15:56 +0000)
includes/SpecialContributions.php

index c44e97e..3a74705 100644 (file)
@@ -180,6 +180,7 @@ function wfSpecialContributions( $par = null ) {
 
        if (($ns = $wgRequest->getVal('namespace', null)) !== null && $ns !== '') {
                $options['namespace'] = $ns;
+               $finder->set_namespace($options['namespace']);
        } else {
                $options['namespace'] = '';
        }
@@ -192,7 +193,7 @@ function wfSpecialContributions( $par = null ) {
        $finder = new contribs_finder(($target == 'newbies') ? 'newbies' : $nt->getText());
        $finder->set_limit($options['limit']);
        $finder->set_offset($options['offset']);
-       $finder->set_namespace($options['namespace']);
+       
 
        if ($wgRequest->getText('go') == 'prev') {
                $options['offset'] = $finder->get_previous_offset_for_paging();