Index: trunk/extensions/GlobalBlocking/ApiGlobalBlocks.php |
— | — | @@ -172,6 +172,7 @@ |
173 | 173 | 'addresses' => array( |
174 | 174 | ApiBase :: PARAM_ISMULTI => true |
175 | 175 | ), |
| 176 | + 'ip' => null, |
176 | 177 | 'limit' => array( |
177 | 178 | ApiBase :: PARAM_DFLT => 10, |
178 | 179 | ApiBase :: PARAM_TYPE => 'limit', |
— | — | @@ -219,7 +220,7 @@ |
220 | 221 | |
221 | 222 | protected function getExamples() { |
222 | 223 | return array ( 'api.php?action=query&list=globalblocks', |
223 | | - 'api.php?action=query&list=globalblocks&bgaddresses=217.121.114.116' |
| 224 | + 'api.php?action=query&list=globalblocks&bgip=217.121.114.116' |
224 | 225 | ); |
225 | 226 | } |
226 | 227 | |