The code coverage for GlobalFunctions.php is really awful and should be improved:
https://integration.wikimedia.org/cover/mediawiki-core/master/php/includes_GlobalFunctions.php.html
Lot of those functions are well isolated and it should be easy to write unit tests for them.
Version: 1.23.0
Severity: enhancement