r71467 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r71466
|
r71467
|
r71468
>
Date:
08:46, 23 August 2010
Author:
nikerabbit
Status:
ok
Tags:
Comment:
Fix yet another regression in
r71342
: NS_MAIN was dropped from valid namespaces, breaking at least opensearch
Modified paths:
/trunk/phase3/includes/Namespace.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Namespace.php
—
—
@@ -186,7 +186,7 @@
187
187
188
188
if ( is_null( $mValidNamespaces ) ) {
189
189
foreach ( array_keys( self::getCanonicalNamespaces() ) as $ns ) {
190
- if ( $ns > 0 ) {
190
+ if ( $ns >= 0 ) {
191
191
$mValidNamespaces[] = $ns;
192
192
}
193
193
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r71342
Trying to clean up the mess with $wgCanonicalNamespaceNames and $wgExtraNames...
nikerabbit
10:25, 20 August 2010
Status & tagging log
00:19, 5 December 2010
Reedy
(
talk
|
contribs
)
changed the
status
of r71467
[
removed:
new
added:
ok]