* Fix regression in ordering of namespaces
This commit is contained in:
parent
b21258f223
commit
80249cf6cb
2 changed files with 5 additions and 0 deletions
|
|
@ -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 ==
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue