See https://www.mediawiki.org/wiki/Topic:Vdyfysy8bs1lkbsl and https://phabricator.wikimedia.org/T248024