Index: trunk/extensions/BotQuery/query.php |
— | — | @@ -217,7 +217,7 @@ |
218 | 218 | )), |
219 | 219 | 'revisions' => array( "genPageHistory", false, |
220 | 220 | array( 'rvcomments', 'rvlimit', 'rvoffset', 'rvstart', 'rvend' ), |
221 | | - array( null, 50, 0, null, null ), |
| 221 | + array( false, 50, 0, null, null ), |
222 | 222 | array( |
223 | 223 | "Revision history - Lists edits performed to the given pages", |
224 | 224 | "Parameters supported:", |
— | — | @@ -1008,6 +1008,10 @@ |
1009 | 1009 | case 'integer': |
1010 | 1010 | $result = $wgRequest->getInt( $param, $dflt ); |
1011 | 1011 | break; |
| 1012 | + case 'boolean': |
| 1013 | + // Having a default value of 'true' is pointless |
| 1014 | + $result = $wgRequest->getCheck( $param ); |
| 1015 | + break; |
1012 | 1016 | case 'array': |
1013 | 1017 | $result = $this->parseMultiValue( $param, $dflt ); |
1014 | 1018 | break; |