Interface: ApiGlobalBlockResult
Defined in: extensions/globalblocks.ts:112
Result object of action=globalblock. Which fields appear depends on the
branch: blocking emits ApiGlobalBlockResult.blocked plus the applied
options and ApiGlobalBlockResult.expiry; unblocking emits
ApiGlobalBlockResult.unblocked.
Properties
allow-account-creation?
optionalallow-account-creation?:""
Defined in: extensions/globalblocks.ts:126
Account creation is disabled by the block; an empty-string marker.
anononly?
optionalanononly?:""
Defined in: extensions/globalblocks.ts:123
Only anonymous users are affected; an empty-string marker.
blocked?
optionalblocked?:""
Defined in: extensions/globalblocks.ts:117
The block was applied; an empty-string marker.
blockedlocally?
optionalblockedlocally?:true
Defined in: extensions/globalblocks.ts:132
The target is also blocked locally on this wiki. A Flag.
enable-autoblock?
optionalenable-autoblock?:""
Defined in: extensions/globalblocks.ts:129
Autoblocking is enabled for the block; an empty-string marker.
expiry?
optionalexpiry?:string
Defined in: extensions/globalblocks.ts:135
Block expiry, or infinite.
unblocked?
optionalunblocked?:""
Defined in: extensions/globalblocks.ts:120
The block was removed; an empty-string marker.
user?
optionaluser?:string
Defined in: extensions/globalblocks.ts:114
The blocked or unblocked user name, IP or range.