Difference: OfflineWikipediaSetup (1 vs. 4)

Revision 32013-10-16 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Offline Wikipedia Setup

Manual:Importing XML dumps

Changed:
<
<
good reference: http://www.brianstempin.com/2012/06/29/loading-the-english-wikipedia-dump-is-a-huge-pain/
>
>
Reference:
 
Changed:
<
<
  java -jar mwdumper-1.16.jar --format=sql:1.5 enwiki-20131001-pages-articles-multistream-index.txt.bz2
 |    mysql -u wikiuser -p mywiki
>
>

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

 
Added:
>
>
java -jar mwdumper-1.16.jar enwiki-latest-pages-articles-multistream.xml --format=sql:1.5 > enwiki-latest-pages-articles-multistream.sql
  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>

Revision 22013-10-16 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Offline Wikipedia Setup

Manual:Importing XML dumps

Added:
>
>
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>

Revision 12011-12-30 - JimSkon

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Offline Wikipedia Setup

Manual:Importing XML dumps

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

 
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