* anonOnly bool Only disallow anonymous actions
* createAccount bool Disallow creation of new accounts
* enableAutoblock bool Enable automatic blocking
- * hideName bool Hide the target user name
* blockEmail bool Disallow sending emails
* allowUsertalk bool Allow the target to edit its own talk page
* sitewide bool Disallow editing all pages and all contribution
'anonOnly' => false,
'createAccount' => false,
'enableAutoblock' => false,
- 'hideName' => false,
'blockEmail' => false,
'allowUsertalk' => false,
'sitewide' => true,
# Boolean settings
$this->mAuto = (bool)$options['auto'];
- $this->setHideName( (bool)$options['hideName'] );
$this->isHardblock( !$options['anonOnly'] );
$this->isAutoblocking( (bool)$options['enableAutoblock'] );
$this->isSitewide( (bool)$options['sitewide'] );