(bug 14790) Export of category pages when using Category: prefix now actually gives...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 11 Aug 2008 21:55:22 +0000 (21:55 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 11 Aug 2008 21:55:22 +0000 (21:55 +0000)
RELEASE-NOTES
includes/specials/SpecialExport.php

index 1a13a84..b60b389 100644 (file)
@@ -104,6 +104,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 15101) Displaying only bots edits in Special:Recentchanges now works
   again
 * (bug 13770) Fixed incorrect detection of PHP's DOM module
+* (bug 14790) Export of category pages when using Category: prefix now actually
+  gives results
 
 === API changes in 1.14 ===
 
index d500785..b17140d 100644 (file)
@@ -126,7 +126,7 @@ function wfSpecialExport( $page = '' ) {
                $catname = $wgRequest->getText( 'catname' );
 
                if ( $catname !== '' && $catname !== NULL && $catname !== false ) {
-                       $t = Title::makeTitleSafe( NS_CATEGORY, $catname );
+                       $t = Title::makeTitleSafe( NS_MAIN, $catname );
                        if ( $t ) {
                                /**
                                 * @fixme This can lead to hitting memory limit for very large