Following T257701: Add global blocks into CompositeBlocks rather than treating them separately
Remove usage of User::isBlockedGlobally and User::getGlobalBlock in VisualEditor
Usage of User::isBlockedGlobally found here
Usage of User::getGlobalBlock found here
Testing
- Block an IP address or User.
- Access the visual editor menu(Edit).If IP is blocked, you will get a message why its blocked and by who.Otherwise, you should be able to edit using the visual editor.