Index: trunk/extensions/CheckUser/api/ApiQueryCheckUser.php |
— | — | @@ -110,7 +110,7 @@ |
111 | 111 | foreach ( $res as $row ) { |
112 | 112 | $edit = array( |
113 | 113 | 'timestamp' => wfTimestamp( TS_ISO_8601, $row->cuc_timestamp ), |
114 | | - 'ns' => $row->cuc_namespace, |
| 114 | + 'ns' => intval( $row->cuc_namespace ), |
115 | 115 | 'title' => $row->cuc_title, |
116 | 116 | 'user' => $row->cuc_user_text, |
117 | 117 | 'ip' => $row->cuc_ip, |
— | — | @@ -220,7 +220,7 @@ |
221 | 221 | ApiBase::PARAM_DFLT => 1000, |
222 | 222 | ApiBase::PARAM_TYPE => 'limit', |
223 | 223 | ApiBase::PARAM_MIN => 1, |
224 | | - ApiBase::PARAM_MAX => 5000, |
| 224 | + ApiBase::PARAM_MAX => 500, |
225 | 225 | ApiBase::PARAM_MAX2 => 5000, |
226 | 226 | ), |
227 | 227 | 'timecond' => null, |