another global
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 3 Sep 2006 10:01:35 +0000 (10:01 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 3 Sep 2006 10:01:35 +0000 (10:01 +0000)
maintenance/dumpHTML.inc

index 2dc08d1..29eeadf 100644 (file)
@@ -435,6 +435,7 @@ class DumpHTML {
                global $wgHideInterlanguageLinks, $wgUploadDirectory, $wgThumbnailScriptPath;
                global $wgSharedThumbnailScriptPath, $wgEnableParserCache, $wgHooks, $wgServer;
                global $wgRightsUrl, $wgRightsText, $wgCopyrightIcon, $wgEnableSidebarCache;
+               global $wgGenerateThumbnailOnParse;
 
                static $oldLogo = NULL;
 
@@ -493,6 +494,7 @@ class DumpHTML {
                $wgEnableParserCache = false;
                $wgMathPath = "$wgScriptPath/math";
                $wgEnableSidebarCache = false;
+               $wgGenerateThumbnailOnParse = true;
 
                if ( !empty( $wgRightsText ) ) {
                        $wgRightsUrl = "$wgScriptPath/COPYING.html";