Moved view count from WikiPage to Title; avoids an extra DB query when showing the...
[lhc/web/wiklou.git] / includes / Export.php
index d3ee987..f7716f4 100644 (file)
@@ -692,7 +692,7 @@ class XmlDumpWriter {
                }
 
                global $wgContLang;
-               $prefix = $wgContLang->getNsText( $title->getNamespace() );
+               $prefix = str_replace( '_', ' ', $wgContLang->getNsText( $title->getNamespace() ) );
 
                if ($prefix !== '') {
                        $prefix .= ':';