Index: trunk/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php |
— | — | @@ -260,8 +260,8 @@ |
261 | 261 | $fields = array( 'page_namespace', 'page_title', 'page_id', 'c1.cl_timestamp' ); |
262 | 262 | $conditions = array(); |
263 | 263 | |
264 | | - if ( $params['nameSpace'] !== false ) { |
265 | | - $conditions['page_namespace'] = $params['nameSpace']; |
| 264 | + if ( $params['namespace'] !== false ) { |
| 265 | + $conditions['page_namespace'] = $params['namespace']; |
266 | 266 | } |
267 | 267 | |
268 | 268 | // If flagged revisions is in use, check which options selected. |
— | — | @@ -376,7 +376,7 @@ |
377 | 377 | $categories = $this->getCatRequestArray( 'categories', $wgGNSMfallbackCategory, $wgGNSMmaxCategories ); |
378 | 378 | $notCategories = $this->getCatRequestArray( 'notcategories', '', $wgGNSMmaxCategories ); |
379 | 379 | |
380 | | - $params['nameSpace'] = $this->getNS( $wgRequest->getVal( 'namespace', 0 ) ); |
| 380 | + $params['namespace'] = $this->getNS( $wgRequest->getVal( 'namespace', 0 ) ); |
381 | 381 | |
382 | 382 | $params['count'] = $wgRequest->getInt( 'count', $wgGNSMmaxResultCount ); |
383 | 383 | $params['hourCount'] = $wgRequest->getInt( 'hourcount', -1 ); |