Recently Russian Wikipedia got the partial block feature (see [[m:Community health initiative/Partial blocks]])
The first usage case show that it seems impossible to check if user is partially blocked and fully blocked.
Consider two actual users. 1st is partially blocked (some namespaces closed) - 2nd is fully blocked (old way). Yet from the db these are two identical cases with blockexpiry="infinity":
- https://ru.wikipedia.org/w/api.php?action=query&format=xmlfm&list=users&ususers=Schekinov%20Alexey%20Victorovich&usprop=blockinfo
- https://ru.wikipedia.org/w/api.php?action=query&format=xmlfm&list=users&ususers=Александр%20Мотин&usprop=blockinfo
My proposal is to add some extra flag that would be raised for partially blocked. So the response would be like ...blockexpiry="infinity" ocked=""... Or anything else instead of "ocked".
I have no big hope that this task will get some priority but at least wanted to point to a problem - unless I'm missing something.