|mediawiki/core : master||Allow partially blocked users to import images|
|Resolved||dbarratt||T221682 Improve Block handling where User::isBlocked() was used previously|
|Resolved||dbarratt||T228539 Partially blocked users should not be prevented from using the importImages maintenance script|
I tested calling php maintenance/importImages.php from the command-line with the --check-userblock parameter (which tells it to check if the user is blocked) and --user $user, where $user had a variety of blocks.
$user cannot upload any files if they are sitewide blocked or blocked from the File namespace.
They are also blocked from overwriting (with --overwrite parameter) specific files if they are page blocked from those files.
Otherwise, they can upload files.
Local VM: MediaWiki 1.34.0-alpha (73cdc59) 05:21, 9 September 2019