Manual:Extension support/1.15/ExtDowngrading

$Language::getNamespaceAliases
Language::getNamespaceAliases [1.16] is no longer available. The acceptable fallback is to use the global $wgNamespaceAliases.