X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FExport.php;h=adab21c32c088615ac6d30bcffa351e7b9c0f289;hb=5befb9b74790a99aec5514ad8f8784a4fb085288;hp=0d55d7dbc1cdbbacf4b31577d1eed34c908e66ed;hpb=0e54c034458b92199524ea4a8e5e4b7db381ef5d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Export.php b/includes/Export.php index 0d55d7dbc1..adab21c32c 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -874,7 +874,7 @@ class XmlDumpWriter { } global $wgContLang; - $prefix = str_replace( '_', ' ', $wgContLang->getNsText( $title->getNamespace() ) ); + $prefix = $wgContLang->getFormattedNsText( $title->getNamespace() ); if ( $prefix !== '' ) { $prefix .= ':';