Index: trunk/extensions/MWSearch/MWSearch_body.php |
— | — | @@ -90,7 +90,7 @@ |
91 | 91 | |
92 | 92 | global $wgCanonicalNamespaceNames, $wgNamespaceAliases; |
93 | 93 | $nsNamesRaw = array_merge($wgContLang->getNamespaces(), $wgCanonicalNamespaceNames, |
94 | | - array_keys( array_merge($wgNamespaceAliases, $wgContLang->namespaceAliases) ) ); |
| 94 | + array_keys( array_merge($wgNamespaceAliases, $wgContLang->getNamespaceAliases()) ) ); |
95 | 95 | |
96 | 96 | # add all namespace names w/o spaces |
97 | 97 | $nsNames = array(); |