dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6089635
)
Followup r103945: fix regression in XML export namespace formatting for namespaces...
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 24 Nov 2011 01:26:52 +0000
(
01:26
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 24 Nov 2011 01:26:52 +0000
(
01:26
+0000)
The changes in r103945 for bug 32376, bug 31697 accidentally let underscore-forms through for the namespace portion, when we're supposed to have the space form. Causes problems with search indexing.
includes/Export.php
patch
|
blob
|
history
diff --git
a/includes/Export.php
b/includes/Export.php
index
d3ee987
..
f7716f4
100644
(file)
--- a/
includes/Export.php
+++ b/
includes/Export.php
@@
-692,7
+692,7
@@
class XmlDumpWriter {
}
global $wgContLang;
- $prefix =
$wgContLang->getNsText( $title->getNamespace(
) );
+ $prefix =
str_replace( '_', ' ', $wgContLang->getNsText( $title->getNamespace()
) );
if ($prefix !== '') {
$prefix .= ':';