There are some user scripts/gadgets that visually highlight signatures of locked or blocked users on discussion pages.
There is no efficient API that allows looking up the lock status for a batch of users, so when viewing a busy discussion page, these scripts fire off hundreds of cross-wiki API requests per page view (one per username).
https://en.wikipedia.org/wiki/User:GeneralNotability/mark-locked.js is a notable one, but there are some more of them. I'm not sure if the others are widely used.
We should introduce a suitable API (see subtasks), then identify widely used scripts/gadgets (help on this would be very welcome), and reach out to their authors (or propose patches).
