Index: trunk/phase3/includes/SpecialNewpages.php |
— | — | @@ -165,6 +165,7 @@ |
166 | 166 | $nondefaults = array(); |
167 | 167 | wfAppendToArrayIfNotDefault( 'hidepatrolled', $this->hidepatrolled, $this->defaults, $nondefaults); |
168 | 168 | wfAppendToArrayIfNotDefault( 'hideliu', $this->hideliu, $this->defaults, $nondefaults); |
| 169 | + wfAppendToArrayIfNotDefault( 'hidebots', $this->hidebots, $this->defaults, $nondefaults); |
169 | 170 | wfAppendToArrayIfNotDefault( 'namespace', $this->namespace, $this->defaults, $nondefaults); |
170 | 171 | wfAppendToArrayIfNotDefault( 'limit', $this->limit , $this->defaults, $nondefaults); |
171 | 172 | wfAppendToArrayIfNotDefault( 'offset', $this->offset , $this->defaults, $nondefaults); |
— | — | @@ -274,7 +275,7 @@ |
275 | 276 | } |
276 | 277 | } |
277 | 278 | } else { |
278 | | - if( $ns = $wgRequest->getText( 'namespace', NS_MAIN ) ) |
| 279 | + if( $ns = $wgRequest->getInt( 'namespace', NS_MAIN ) ) |
279 | 280 | $namespace = $ns; |
280 | 281 | if( $un = $wgRequest->getText( 'username' ) ) |
281 | 282 | $username = $un; |