r40494 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40493‎ | r40494 | r40495 >
Date:15:05, 5 September 2008
Author:catrope
Status:old
Tags:
Comment:
(bug 15486) API action=block ignores autoblock parameter
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiBlock.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBlock.php
@@ -81,7 +81,7 @@
8282 $form->BlockOther = '';
8383 $form->BlockAnonOnly = $params['anononly'];
8484 $form->BlockCreateAccount = $params['nocreate'];
85 - $form->BlockEnableAutoBlock = $params['autoblock'];
 85+ $form->BlockEnableAutoblock = $params['autoblock'];
8686 $form->BlockEmail = $params['noemail'];
8787 $form->BlockHideName = $params['hidename'];
8888
Index: trunk/phase3/RELEASE-NOTES
@@ -216,6 +216,7 @@
217217 * (bug 15448) YAML output returns empty values instead of 0
218218 * (bug 15445) Added action=patrol
219219 * (bug 15466) Added action=purge
 220+* (bug 15486) action=block ignores autoblock parameter
220221
221222 === Languages updated in 1.14 ===
222223