For new 'export all' feature, cleanup whitepspace, remove redundant check, add docume...
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 5 Jan 2012 17:10:07 +0000 (17:10 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 5 Jan 2012 17:10:07 +0000 (17:10 +0000)
RELEASE-NOTES-1.19
includes/specials/SpecialExport.php
languages/messages/MessagesQqq.php

index 794da3f..2cb77f7 100644 (file)
@@ -117,6 +117,7 @@ production.
 * Extensions can use the RequestContextCreateSkin hook to override what skin is
   loaded in some contexts.
 * (bug 33456) Show $wgQueryCacheLimit on cached query pages.
+* (bug 10574) Add an option to allow all pages to be exported by Special:Export.
 
 === Bug fixes in 1.19 ===
 * $wgUploadNavigationUrl should be used for file redlinks if.
index b0e89fa..ed04fc1 100644 (file)
@@ -264,7 +264,7 @@ class SpecialExport extends SpecialPage {
        private function doExport( $page, $history, $list_authors, $exportall ) {
 
                // If we are grabbing everything, enable full history and ignore the rest
-               if ($exportall) {
+               if ( $exportall ) {
                        $history = WikiExporter::FULL;
                } else {
 
@@ -310,7 +310,7 @@ class SpecialExport extends SpecialPage {
                }
 
                /* Ok, let's get to it... */
-               if( $history == WikiExporter::CURRENT && ! $exportall ) {
+               if( $history == WikiExporter::CURRENT ) {
                        $lb = false;
                        $db = wfGetDB( DB_SLAVE );
                        $buffer = WikiExporter::BUFFER;
index cf7115d..1afb35c 100644 (file)
@@ -2983,6 +2983,7 @@ Parameters:
 # Export
 'export'           => 'Page title of [[Special:Export]], a page where a user can export pages from a wiki to a file.',
 'exporttext'       => 'Main text on [[Special:Export]]. Leave the line <tt><nowiki>[[{{#Special:Export}}/{{MediaWiki:Mainpage}}]]</nowiki></tt> exactly as it is!',
+'exportall'        => 'A label of checkbox option in [[Special:Export]]',
 'exportcuronly'    => 'A label of checkbox option in [[Special:Export]]',
 'export-submit'    => 'Button name in [[Special:Export]].