r43078 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43077‎ | r43078 | r43079 >
Date:16:35, 2 November 2008
Author:catrope
Status:old
Tags:
Comment:
GlobalBlocking: Add dropped bgip parameter, re-add previously broken example
Modified paths:
  • /trunk/extensions/GlobalBlocking/ApiGlobalBlocks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalBlocking/ApiGlobalBlocks.php
@@ -172,6 +172,7 @@
173173 'addresses' => array(
174174 ApiBase :: PARAM_ISMULTI => true
175175 ),
 176+ 'ip' => null,
176177 'limit' => array(
177178 ApiBase :: PARAM_DFLT => 10,
178179 ApiBase :: PARAM_TYPE => 'limit',
@@ -219,7 +220,7 @@
220221
221222 protected function getExamples() {
222223 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'
224225 );
225226 }
226227

Status & tagging log