108
Import from another wiki
under review
Activity Feed
Sort by
Maxim
From xwiki pleeeeasee
Pavel Flait
from Notion please
Chad Sherrell
TiddlyWiki for me!
Nicolas Giard
under review
Thomas Nilefalk
I have a script that helps with a crude export/import from Dokuwiki to Wiki.js. It has limitations, but you are welcome to try it: https://github.com/thoni56/dokuwiki2wikijs. YMMV, of course, but it will suffice for seeing how your dokuwiki will look in Wiki.js.
Martin BONNEAU
Thomas Nilefalk: I used your script, it works fine on images, tables, etc... I just tweaked the first_heading_or_filename function in order that it always returns the pagename as title because of an exception in the condition for some files. I really thanks you for the script !
Argus Nymus
I just found "Import Content" (from Mediawiki, DokuWiki, Confluence) on the roadmap for 3.x. See https://docs.requarks.io/releases/roadmap
Georgy Malkov
Vote for import from Mediawiki
J
Jason
An Import from Confluence would be great, we have already committed to move from this to Wiki.js and I am battling with how best to achieve this.
Abdul Aziz Alwafaae
If import and instant commons will be available,, i will start the migration asap
w
webinar
Is there something new for importing dokuwiki in wikijs?
Xu Wang
webinar: For Dokuwiki, I've had some limited success with the following:
- Sync your Wiki.js with a git repo in Settings > Storage.
- Make a copy of your Dokuwiki data directory.
- Covert all pages from Dokuwiki to Commonmark using pandoc.
- Copy the markdown files to the git repo. Commit and push.
- Run a force sync from the git repo in Wiki.js.
This works for pages only, not media. There were some formatting issues that I needed to fix, but that's more of a pandoc issue I believe.
w
webinar
Xu Wang: Thank you!
But without the media file I can't go on with that :-(. I have over 500 pages and cannot add all media manually. Is there a way to get the media automatically?
Xu Wang
webinar: You could try adding media via git as well (wiki.js puts media in the same folder as pages), but last time I tried this, the media files I added via git were not recognised/picked up.
Christoph Wiechert
Xu Wang: Would you share your pandoc scripts? Thx!
Xu Wang
Christoph Wiechert: This was my pandoc command:
/usr/bin/pandoc -s -o <output file> -r dokuwiki <input file> -t markdown
I don't have the exact script because it was just a bash one-liner I made up at the time, but it was probably something like this:
for d in *.txt; do (/usr/bin/pandoc -s -o md-$d -r dokuwiki $d -t markdown && rm $d && mv md-$d $d && rename 's/.txt/.md/' $d); done
I'm sure there's a more elegant way to script that but it'll get the job done.
Load More
→