Various pages including the history page is not built in OOUI. Instead they make use of HtmlForm and wgUseMediaWikiUIEverywhere. wgUseMediaWikiUIEverywhere is set to true in mobile mode.
With the default state (wgUseMediaWikiUIEverywhere off), mediawiki.UI should not be used anywhere in core.
This doesn't count ones that add an attribute that is not displayed anyway without the global. Those should still be converted, but it doesn't block this phase.