Subject: | Bug#386013: MediaWikiDump.pm: emphasize for XML not mysql |
Date: | Mon, 04 Sep 2006 22:56:08 +0800 |
From: | Dan Jacobson <jidanni [...] jidanni.org> |
X-debbugs-cc: bug-parse-mediawikidump@rt.cpan.org
Package: libparse-mediawikidump-perl
Version: 0.40-2
Severity: wishlist
Please emphasize at the top of the man page that this is for XML
dumps, not mysql dumps.
Else one gets e.g.,
syntax error at line 1, column 0, byte 0 at
/usr/share/perl5/Parse/MediaWikiDump.pm line 226
super mysterious error messages.
Also say so in the Debian Description. Say what "various MediaWiki
dump files" are there, i.e., currently XML page archive, XML links
dump file.
Also if one does
$pages = Parse::MediaWikiDump::Pages->new($source);
$links = Parse::MediaWikiDump::Links->new($source);
both in a row copied from the top of the man page, one will get a
similar error even from an XML dump.
(And poking near it one sees
if (m/^LOCK TABLES `pagelinks` WRITE;/) {
making one think that you want mysql dumps.)