Author: mr.primus
Description:
I used MW 1.5 beta 3, upgraded to 1.52 and later to 1.6devel, got still a
problem with dumphtml.
One problem to be solved was the case if wiki is secured by password, i got a
workaround from Tim Starling for this, which get me some lines further.
new entry in function setupGlobals
$wgGroupPermissions;
in advance of $this->setupDone = true; the following line
$wgGroupPermissions['*']['read'] = true;
Before i had to change localsettings.php, but got the same at the end:
maintenance>php dumphtml.php
Creating static HTML dump in directory static.
Starting from page_id 1 of 1929.
Using database localhost
Writing MediaWiki~Common.css
Writing MediaWiki~Standard.css
After a while there is an error in php.exe:
Die Anweisung in "0x100ab2cb" verweist auf Speicher in "0x0240f000" Der Vorgang
"read" konnte nicht auf dem Speicher durchgeführt werden.
dumpHTML.inc contains following..
'REPORTING_INTERVAL', 500
Destination directory
var $dest;
Show interlanguage links?
var $interwiki = true;
Depth of HTML directory tree
var $depth = 3;
Directory that commons images are copied into
var $sharedStaticPath;
Relative path to image directory
var $imageRel = 'upload';
Copy commons images instead of symlinking
var $forceCopy = false;
- Make links assuming the script path is in the same directory as
- the destination
var $alternateScriptPath = false;
Original values of various globals
var $oldArticlePath = false, $oldCopyrightIcon = false;
Has setupGlobals been called?
var $setupDone = false;
List of raw pages used in the current article
var $rawPages;
Error only seems to appear if $setupDone = false, but with set to true it doesnt
write MediaWiki~Common.css and MediaWiki~Standard.css.
The next problem seems to be that category tables aren't found because the table
prefix is not used and the table isn't found because of that.
There is no index.html in /static. The pages which were created only link to
Namespace:Article, but not to http://xxx/Namespace:Article.
Any help available?
Version: unspecified
Severity: normal