Amend r95775 per Siebrand's suggestion
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 30 Aug 2011 13:59:54 +0000 (13:59 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 30 Aug 2011 13:59:54 +0000 (13:59 +0000)
docs/hooks.txt

index 745ae73..3112169 100644 (file)
@@ -1090,7 +1090,8 @@ $password: The password entered by the user
 $user: User the password is being validated for
 
 'LanguageGetNamespaces': Provide custom ordering for namespaces or
-remove namespaces. Do not use this hook to add namespaces.
+remove namespaces. Do not use this hook to add namespaces. Use 
+CanonicalNamespaces for that.
 &$namespaces: Array of namespaces indexed by their numbers
 
 'LanguageGetMagic': DEPRECATED, use $magicWords in a file listed in