Background
AbstractBlock::getPermissionsError is deprecated and just calls the BlockErrorFormatter in most block classes. GlobalBlock still uses it to add a custom error message, but it appears that the method is never called: https://codesearch.wmcloud.org/search/?q=getPermissionsError&i=nope&files=&excludeFiles=&repos=
Acceptance criteria
- GlobalBlock::getPermissionsError is removed
Notes
Documentation on the deprecation/removal process: https://www.mediawiki.org/wiki/Stable_interface_policy#Deprecation_process