Importing text into wiki

From PTAGISWiki

Jump to: navigation, search

I used the information at wikimedia for importing text and looked carefully at the output of Special:Export in order to make a procedure that could be used to import many text files into mediawiki.

  1. copy text files into a directory where processing can be done in isolation
  2. run a perl script to generate wikipedia xml based on the text files (Txt2wiki.pl)
  3. run a perl script to send each xml file to wikipedia's importDump.php (Wiki-import.pl)
Personal tools