Offline Wikipedia Setup

Manual:Importing XML dumps

good reference: http://www.brianstempin.com/2012/06/29/loading-the-english-wikipedia-dump-is-a-huge-pain/

  java -jar mwdumper-1.16.jar --format=sql:1.5 enwiki-20131001-pages-articles-multistream-index.txt.bz2
 |    mysql -u wikiuser -p mywiki

importDump.php is a command line script located in the maintenance folder of your MediaWiki installation. If you have shell access, you can call importdump.php like this:

php importDump.php <dumpfile>

where <dumpfile> is the name of the XML dump file. If the file is compressed and that has a .gz or .bz2 file extension, it is decompressed automatically.

Source: http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps

-- JimSkon - 2011-12-30

Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2013-10-16 - JimSkon
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback