Background
APIUpload and SpecialUpload check for global blocks separately from other blocks. If a global block is found, it blocks upload.
This is an example of MediaWiki core being aware of an extension.
Instead, the GlobalBlock itself should define that it blocks upload.
Acceptance Criteria
- Calling GlobalBlock::appliesToRight( 'upload' ) returns true. For other rights, there are no changes in the return value.