Added a hook into MWNamespace::getCanonicalNamespaces() to provide safe way to
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 24 Aug 2010 19:58:55 +0000 (19:58 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 24 Aug 2010 19:58:55 +0000 (19:58 +0000)
commitea8428af0f25f6973bd44f8b9a0e2cdc2bfa30a8
treeb14c78aa0b9b11913837024837e019955133a63e
parentf31556261f2ad3b27986ab175bcd8f6507a236ea
Added a hook into MWNamespace::getCanonicalNamespaces() to provide safe way to
define new namespaces in extensions.

Without the hook the list could be initialised too early and some namespaces
would be left undefined. Was causing problems at translatewiki.net.
docs/hooks.txt
includes/Namespace.php