r55595 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r55594
|
r55595
|
r55596
>
Date:
15:03, 26 August 2009
Author:
brion
Status:
ok
Tags:
Comment:
Fix for error accessing uninitialized namespace aliases array... use the accessor, which lazy-initializes :)
Modified paths:
/trunk/phase3/maintenance/namespaceDupes.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/namespaceDupes.php
—
—
@@ -93,7 +93,7 @@
94
94
foreach( $wgNamespaceAliases as $name => $ns ) {
95
95
$spaces[$name] = $ns;
96
96
}
97
- foreach( $wgContLang->namespaceAliases as $name => $ns ) {
97
+ foreach( $wgContLang->getNamespaceAliases() as $name => $ns ) {
98
98
$spaces[$name] = $ns;
99
99
}
100
100
Status & tagging log
15:50, 26 August 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r55595
[
removed:
new
added:
ok]