**Problem**
There isn't a way to determine, via the API, if a particular user is blocked from editing a specific page.
[[ https://www.mediawiki.org/wiki/Extension:MobileFrontend | MobileFrontned ]] uses it's [[ https://phabricator.wikimedia.org/diffusion/EMFR/browse/master/resources/mobile.editor.overlay/EditorOverlay.js;f4c03a10ce202eb70b7b4efd1fe62f58d2c057b0$377 | own logic ]] to determine if a user can edit a particular page or not.
This means any implementations of [[ https://www.mediawiki.org/wiki/Manual:Hooks/UserIsBlockedFrom | UserIsBlockedFrom ]] is ignored and the client will //assume// the user cannot edit a page they may be able to edit (i.e. the client will assume a site-wide block). While the user will be notified that they are blocked (and the client will prevent editing) the actual edit request will succeed.
**Solution**
Add to ApiQueryInfo an `inprop` to indicate whether the current user is blocked from the page. This should execute [[ https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/user/User.php;67ba3f31ed5ed30c0c08bb5a75bb098e3ffbe824$2262 | User::isBlockedFrom ]].