I was skimming through the uses of RequestContext::getMain() in MediaWiki core a bit to identify sites where it can be easily deprecated or removed.
(One could maybe create a parent task for reducing the use of global context? Maybe a project MediaWiki-Context could be a good idea?)
Specifically, ChangesList::flag and ChangesList::showCharacterDifference optionally take a context, yet have a local context available at each callsite in core and extensions, except for RecentChange::getCharacterDifference, which is unused in all of codesearch.
Therefore, this task suggests to deprecate calling these methods without specifying the context, after adjusting all callers.