Index: trunk/phase3/includes/api/ApiUnblock.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | return array ( |
96 | 96 | 'id' => 'ID of the block you want to unblock (obtained through list=blocks). Cannot be used together with user', |
97 | 97 | 'user' => 'Username, IP address or IP range you want to unblock. Cannot be used together with id', |
98 | | - 'token' => 'An unblock token previously obtained through the gettoken parameter', |
| 98 | + 'token' => 'An unblock token previously obtained through the gettoken parameter or prop=info', |
99 | 99 | 'gettoken' => 'If set, an unblock token will be returned, and no other action will be taken', |
100 | 100 | 'reason' => 'Reason for unblock (optional)', |
101 | 101 | ); |
Index: trunk/phase3/includes/api/ApiBlock.php |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | public function getParamDescription() { |
135 | 135 | return array ( |
136 | 136 | 'user' => 'Username, IP address or IP range you want to block', |
137 | | - 'token' => 'A block token previously obtained through the gettoken parameter', |
| 137 | + 'token' => 'A block token previously obtained through the gettoken parameter or prop=info', |
138 | 138 | 'gettoken' => 'If set, a block token will be returned, and no other action will be taken', |
139 | 139 | 'expiry' => 'Relative expiry time, e.g. \'5 months\' or \'2 weeks\'. If set to \'infinite\', \'indefinite\' or \'never\', the block will never expire.', |
140 | 140 | 'reason' => 'Reason for block (optional)', |