Added a hook into MWNamespace::getCanonicalNamespaces() to provide safe way to