Manual:Extension support/1.16/ExtUpgrading

$wgNamespaceAliases
There is now a new function on Language::getNamespaceAliases introduced to replace usage of $wgNamespaceAliases. This is now critical by 1.18 with the introduction of gendered namespaces aliases which are not stored in $wgNamespaceAliases.