Last modified: 2011-09-18 07:37:56 UTC
I wanted to dump my wiki pages when I got the following error: PHP Warning: file_put_contents(d:\Temp\wiki\temp\TEMP-88261655): failed to open stream: No such file or directory in E:\Internet\honlapok\htdocs\mediawiki\exte nsions\DumpHTML\dumpHTML.inc on line 552 Can't open file 'd:\Temp\wiki\articles\m\e\d\MediaWiki_PHP_jav├şt├ísok_437c.html ' for writing. Check permissions or use another destination (-d). I found the solution to. I didn't find where you create the temp directory, so I put the following line in dumpHTML.inc at line 550: $this->mkdir("{$this->dest}\\temp"); It works but I have to delete the temp directory manually.
Just notice same thing. Dump is broken at http://download.wikimedia.org/plwiktionary/20100411/plwiktionary-20100411-pages-articles.xml.bz2. Several entries are existing with empty text field. For example here is real content of [[pl:wikt:til]] article: http://pl.wiktionary.org/w/index.php?title=til&oldid=1279710 while in dump there is: <page> <title>til</title> <id>7330</id> <revision> <id>1279710</id> <timestamp>2010-04-01T23:12:41Z</timestamp> <contributor> <username>Interwicket</username> <id>5613</id> </contributor> <minor /> <comment>iwiki +[[:sv:til]]</comment> <text xml:space="preserve" /> </revision> </page> There are also entries misplaced. Content of [[pl:wikt:ez]] is under <title>bela</title> in this archive.
sorry for the last posting, somehow I put it in wrong thread, I don't know how :(
Reassigning to dumpHTML extension
Who gets dumpHTML bugs anyways?