MediaWiki::DumpFile::Compat - Compatibility with Parse::MediaWikiDump
use MediaWiki::DumpFile::Compat; $pmwd = Parse::MediaWikiDump->new;
This is a compatibility layer with Parse::MediaWikiDump; instead of "use Parse::MediaWikiDump;" you "use MediaWiki::DumpFile::Compat;". The Parse::MediaWikiDump module itself is well documented so it will not be reproduced here. Compatibility is verified by using the existing Parse::MediaWikiDump test suite with the following adjustments:
The order of the results from namespaces() is now sorted by the namespace ID instead of being in document order
Order of values from next() is now in identical order as SQL file
This compatibility layer is not yet well tested
To install MediaWiki::DumpFile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MediaWiki::DumpFile
CPAN shell
perl -MCPAN -e shell install MediaWiki::DumpFile
For more information on module installation, please visit the detailed CPAN module installation guide.