Index: trunk/phase3/includes/api/ApiQueryAllCategories.php |
— | — | @@ -69,8 +69,8 @@ |
70 | 70 | $to = ( is_null( $params['to'] ) ? null : $this->titlePartToKey( $params['to'] ) ); |
71 | 71 | $this->addWhereRange( 'cat_title', $dir, $from, $to ); |
72 | 72 | |
73 | | - $min = $params['minpage']; |
74 | | - $max = $params['maxpage']; |
| 73 | + $min = $params['min']; |
| 74 | + $max = $params['max']; |
75 | 75 | $this->addWhereRange( 'cat_pages', $dir, $min, $max ); |
76 | 76 | |
77 | 77 | if ( isset( $params['prefix'] ) ) { |
— | — | @@ -152,11 +152,11 @@ |
153 | 153 | 'descending' |
154 | 154 | ), |
155 | 155 | ), |
156 | | - 'minpage' => array( |
| 156 | + 'mine' => array( |
157 | 157 | ApiBase::PARAM_DFLT => null, |
158 | 158 | ApiBase::PARAM_TYPE => 'integer' |
159 | 159 | ), |
160 | | - 'maxpage' => array( |
| 160 | + 'max' => array( |
161 | 161 | ApiBase::PARAM_DFLT => null, |
162 | 162 | ApiBase::PARAM_TYPE => 'integer' |
163 | 163 | ), |
— | — | @@ -181,8 +181,8 @@ |
182 | 182 | 'to' => 'The category to stop enumerating at', |
183 | 183 | 'prefix' => 'Search for all category titles that begin with this value', |
184 | 184 | 'dir' => 'Direction to sort in', |
185 | | - 'minpage' => 'Minimum number of category page members', |
186 | | - 'maxpage' => 'Maximum number of category page members', |
| 185 | + 'min' => 'Minimum number of category members', |
| 186 | + 'max' => 'Maximum number of category members', |
187 | 187 | 'limit' => 'How many categories to return', |
188 | 188 | 'prop' => array( |
189 | 189 | 'Which properties to get', |