waliki icon indicating copy to clipboard operation
waliki copied to clipboard

Add some migrations tips to the docs

Open mgaitan opened this issue 11 years ago • 5 comments

for example, few ideas on how to migrate from github's wiki, moinmoin or mediawiki

mgaitan avatar Mar 02 '15 05:03 mgaitan

docuwiki https://github.com/hoxu/dokuwiki2git

mgaitan avatar Mar 04 '15 06:03 mgaitan

Can you please elaborate a little bit more on how to migrate dokuwiki, given that I have my gitdir as generated by dokuwiki2git

loispostula avatar Jun 08 '15 16:06 loispostula

Hello @loispostula . I only have experience migrating from MoinMoin. I wrote the tool equivalent to docuwiki2git for this scenario https://github.com/mgaitan/moin2git . This tool also help converting the syntax to restructuredtext and making the right structure to import attachments

then I move the result (the generated git repository) to the WALIKI_DATA_DIR, and sync waliki

python manage.py sync_waliki

Lastly, I run another wallki command that apply few filters and trasformation to cleanup the moin -> rst conversion.

python manage.py moin_migration_cleanup

here the code https://github.com/mgaitan/waliki/blob/master/waliki/management/commands/moin_migration_cleanup.py

So, in your case, you should run dokuwiki2git and find a way to convert the dokuwiki syntax to a valid format under waliki (for example, using this tool https://github.com/ludoza/DokuWiki-to-Markdown-Converter)

then you could run sync_waliki

Let me know if it help and I would be great if you can write and share something (a blog post, maybe) about your experiments.

cheer

mgaitan avatar Jun 08 '15 17:06 mgaitan

here another tool

https://github.com/dmerand/dlm-dot-bin/blob/master/doku2md

the approach here is use doku2html to convert dokuwiki syntaxt to html, and then pandoc to convert it to markdown

mgaitan avatar Jun 08 '15 17:06 mgaitan

hey, thank you very much for all the info, I did write a blog post explaining how I get it working:

http://loispostula.me/blog/2015/06/09/migrate-from-dokuwiki-to-waliki/

loispostula avatar Jun 09 '15 12:06 loispostula