* Fix regression in ordering of namespaces

This commit is contained in:
Brion Vibber 2006-07-26 20:37:11 +00:00
parent b21258f223
commit 80249cf6cb
2 changed files with 5 additions and 0 deletions

View file

@ -100,6 +100,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
profiler during maintenance scripts.
* Added "serialized" directory, for storing precompiled data in serialized form.
* Fix regression in auto-set NS_PROJECT_TALK namespace
* Fix regression in ordering of namespaces
== Languages updated ==

View file

@ -1473,6 +1473,10 @@ class Language {
}
$this->namespaceNames[NS_PROJECT_TALK] = $talk;
}
# The above mixing may leave namespaces out of canonical order.
# Re-order by namespace ID number...
ksort( $this->namespaceNames );
# Put namespace names and aliases into a hashtable.
# If this is too slow, then we should arrange it so that it is done