dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1701d9b
)
Merge "Sort MWNamespace::getValidNamespaces list numerically"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 6 Oct 2015 16:20:57 +0000
(16:20 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 6 Oct 2015 16:20:57 +0000
(16:20 +0000)
includes/MWNamespace.php
patch
|
blob
|
history
diff --git
a/includes/MWNamespace.php
b/includes/MWNamespace.php
index
8ca205a
..
0dd709f
100644
(file)
--- 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;