* (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
[lhc/web/wiklou.git] / includes / CoreParserFunctions.php
index dbc18a2..58caf51 100644 (file)
@@ -68,7 +68,7 @@ class CoreParserFunctions {
                        $found = true;
                } else {
                        $param = str_replace( ' ', '_', strtolower( $part1 ) );
-                       $index = Namespace::getCanonicalIndex( strtolower( $param ) );
+                       $index = MWNamespace::getCanonicalIndex( strtolower( $param ) );
                        if ( !is_null( $index ) ) {
                                $text = $wgContLang->getNsText( $index );
                                $found = true;