Last modified: 2011-09-18 07:37:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23923, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21923 - The dump doesn't create temp directory
The dump doesn't create temp directory
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
DumpHTML (Other open bugs)
unspecified
All Windows XP
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-22 18:21 UTC by Nagy István
Modified: 2011-09-18 07:37 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nagy István 2009-12-22 18:21:16 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.
Comment 1 ABX 2010-04-12 09:43:01 UTC
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.
Comment 2 ABX 2010-04-12 09:52:04 UTC
sorry for the last posting, somehow I put it in wrong thread, I don't know how :(
Comment 3 Brion Vibber 2011-05-24 22:54:29 UTC
Reassigning to dumpHTML extension
Comment 4 Ariel T. Glenn 2011-09-18 07:37:56 UTC
Who gets dumpHTML bugs anyways?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links