Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7546
add_namespace_to_page.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:27 PM
2014-11-21 23:27:52 (UTC+0)
Size
701 B
Referenced Files
None
Subscribers
None
add_namespace_to_page.diff
View Options
### Eclipse Workspace Patch 1.0
#P mediawiki
Index: includes/Export.php
===================================================================
--- includes/Export.php (revision 95235)
+++ includes/Export.php (working copy)
@@ -457,6 +457,7 @@
$out = " <page>\n";
$title = Title::makeTitle( $row->page_namespace, $row->page_title );
$out .= ' ' . Xml::elementClean( 'title', array(), $title->getPrefixedText() ) . "\n";
+ $out .= ' ' . Xml::element( 'ns', array(), strval( $row->page_namespace) ) . "\n";
$out .= ' ' . Xml::element( 'id', array(), strval( $row->page_id ) ) . "\n";
if ( $row->page_is_redirect ) {
$out .= ' ' . Xml::element( 'redirect', array() ) . "\n";
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7076
Default Alt Text
add_namespace_to_page.diff (701 B)
Attached To
Mode
T29775: namespace should have it's own XML tag
Attached
Detach File
Event Timeline
Log In to Comment