X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMWNamespace.php;h=0dd709f1e443edc043e215c75b851b52634d08fb;hb=216716a7f72ad9b57e68a3b76a97b5d3eae339f5;hp=8ca205ab425f0483fcbfdb9552520c4bc8b49b40;hpb=266dbe55e8c752654a1041a77063ae5d389c2f75;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MWNamespace.php b/includes/MWNamespace.php index 8ca205ab42..0dd709f1e4 100644 --- a/includes/MWNamespace.php +++ b/includes/MWNamespace.php @@ -271,6 +271,8 @@ class MWNamespace { $mValidNamespaces[] = $ns; } } + // T109137: sort numerically + sort( $mValidNamespaces, SORT_NUMERIC ); } return $mValidNamespaces;