I download the dumps to /wikidump/dump and type from the root wiki dir:
# translate to Cherokee
# -gdfl insert [:en:links] back to wikipedia into each article during
translation -nt strip any NULL titles or revisions - syl output in syllabary
wikitrans -syl -gfdl -nt /chr/chrlexicon.cherokee_nation
/chr/chrlexicon.eastern_band /chr/chrlexicon.oklahoma-missouri -thes
chr2en.thesaurus -thes \
en2chr.thesaurus -grammar Otali.bin < enwiki-<date>.xml >
sylwiki-<date>.xml
wikitrans -gfdl -nt /chr/chrlexicon.cherokee_nation
/chr/chrlexicon.eastern_band /chr/chrlexicon.oklahoma-missouri -thes
chr2en.thesaurus -thes \
en2chr.thesaurus -grammar Otali.bin < enwiki-<date>.xml >
phwiki-<date>.xml
// strip from XML file and download all images from wikipedia commons
and wikipedia with 16 daemons (-p parallel mode)
wikix -p < /wikidump/dump/enwiki-<date>.xml (this program actually
creates parallel scripts which resync images from the Foundation
./image_sh
#
php maintenance/importDump.php < /wikidump/enwiki-<date>.xml >&
/wikidump/en.log &
php maintenance/importDump.php < /wikidump/sylwiki-<date>.xml >&
/wikidump/chr.log &
php maintenance/importDump.php < /wikidump/phwiki-<date>.xml >&
/wikidump/chrp.log &
I think I got it. :-)
Jeff
Kasimir Gabert wrote:
Hello,
I can verify that uploading MediaWiki dumps works.
I was able to successfully import (using *nothing but the built in MW
tools*)
ba.wikipedia.org to
test.kgprog.com in a few minutes with a
brand new installation of MW 1.9.3.
The list of things that I had to do (in case Merkey really does want
to learn how to do this):
* Download MediaWiki
* Download the dump (for BA wiki and this test it was
http://download.wikipedia.org/bawiki/20070222/bawiki-20070222-pages-article…
)
* Install MediaWiki (many tutorials on doing this)
* Extract the XML file from the bz2 compressed file (I used bunzip2 on Linux)
* Move the extracted xml file to maintenance/dump.xml
* In a terminal cd to maintenance
* Type in "php importDump.php dump.xml"
* Wait for the dump to finish
* Type in "php rebuildrecentchanges.php"
The wiki has now been successfully created with all of the dumped
pages from Wikimedia Foundation.
Kasimir
On 2/24/07, Jeffrey V. Merkey <jmerkey(a)wolfmountaingroup.com> wrote:
Domas Mituzas wrote:
Dear Jeffrey,
to have some personal issue, but this is simply
reports of bugs and
issues which have been floating for over a year and have not been
closed.
This is open project, quality patches are always welcome.
I am happy to post them.
Jeff
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l