[Mediawiki-l] How to migrate a lot of text files?

Ashar Voultoiz hashar at altern.org
Thu Jan 25 20:32:00 UTC 2007


Vagner Aguiar wrote:
> Hi guys, 
> 
>      Can you tell me how to migrate a lot of text files (about 5000) to mediawiki
>      there some script for this?
>     
> Best Regards!
> Vagner
> 
> P.S.: Excuse me my poor english.

Hello Vagner,

You can use the script maintenance/edit.php . You can do something like:

  $ cat ~/mywork.txt | php mediawiki/maintenance/edit.php \
    -u vagner -a

Play with a bit before importing all the text files.



-- 
Ashar Voultoiz - WP++++
http://en.wikipedia.org/wiki/User:Hashar
http://www.livejournal.com/community/wikitech/
IM: hashar at jabber.org  ICQ: 15325080




More information about the MediaWiki-l mailing list