Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php |
— | — | @@ -87,10 +87,10 @@ |
88 | 88 | # how to have efficient subcategory access :-) ~~~~ (oh well, domas) |
89 | 89 | global $wgMiserMode; |
90 | 90 | if ( $wgMiserMode && isset($params['namespace']) ) { |
91 | | - $this->dieUsage("The cmnamespace option is disabled on this site", 'namespacedisabled'); |
| 91 | + $this->setWarning("The cmnamespace option is disabled on this site"); |
| 92 | + } else { |
| 93 | + $this->addWhereFld('page_namespace', $params['namespace']); |
92 | 94 | } |
93 | | - $this->addWhereFld('page_namespace', $params['namespace']); |
94 | | - |
95 | 95 | if($params['sort'] == 'timestamp') |
96 | 96 | $this->addWhereRange('cl_timestamp', ($params['dir'] == 'asc' ? 'newer' : 'older'), $params['start'], $params['end']); |
97 | 97 | else |