r104126 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104125‎ | r104126 | r104127 >
Date:01:29, 24 November 2011
Author:brion
Status:ok
Tags:
Comment:
MFT r104124 (fixes regression in r103945; r103954 on branch)
Modified paths:
  • /branches/wmf/1.18wmf1/includes/Export.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/Export.php
@@ -687,7 +687,7 @@
688688 }
689689
690690 global $wgContLang;
691 - $prefix = $wgContLang->getNsText( $title->getNamespace() );
 691+ $prefix = str_replace( '_', ' ', $wgContLang->getNsText( $title->getNamespace() ) );
692692
693693 if ($prefix !== '') {
694694 $prefix .= ':';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103945* (bug 32376) XML export tweak to use canonical user namespaces instead of ge...brion19:33, 22 November 2011
r103954MFT r103945: use canonical user NS in export, workaround for search prefix bu...brion20:20, 22 November 2011
r104124Followup r103945: fix regression in XML export namespace formatting for names...brion01:26, 24 November 2011

Status & tagging log