Go to file
Travis Burtrum 98b33b232d Add hopefully final mw2gollum.py which was used to convert full history 2015-06-13 22:55:11 -04:00
.gitignore Add tools to convert 2015-06-09 22:57:26 -04:00
.ruby-version Add tools to convert 2015-06-09 22:57:26 -04:00
LICENSE Initial commit 2015-06-08 18:22:00 -04:00
README.md Add hopefully final mw2gollum.py which was used to convert full history 2015-06-13 22:55:11 -04:00
RSWiki-20150610160818.xml Add tools to convert 2015-06-09 22:57:26 -04:00
RSWiki-20150610171636.xml Add hopefully final mw2gollum.py which was used to convert full history 2015-06-13 22:55:11 -04:00
category.sh Add tools to convert 2015-06-09 22:57:26 -04:00
legit_pages.py Add tools to convert 2015-06-09 22:57:26 -04:00
legit_pages.txt Add tools to convert 2015-06-09 22:57:26 -04:00
mediawiki2gollum.sh Add tools to convert 2015-06-09 22:57:26 -04:00
mw-to-gollum.rb Add tools to convert 2015-06-09 22:57:26 -04:00
mw2gollum.py Add hopefully final mw2gollum.py which was used to convert full history 2015-06-13 22:55:11 -04:00
mwbashclean.sh Add hopefully final mw2gollum.py which was used to convert full history 2015-06-13 22:55:11 -04:00

README.md

This is the wiki hosted at rswiki.moparisthebest.com, in the wiki git repo.

In this repo you'll find the tools we used for converting from mediawiki to gollum:

  • legit_pages.py was written by vortex, and used to scrape and generate legit_pages.txt, which was used to export RSWiki-*.xml
  • mw2gollum.py converts a mediawiki dump to gollum preserving all contributor names, changes, and timestamps, each change is a seperate commit
  • mwbashclean.sh is run before every commit mw2gollum.py makes
  • category.sh scrapes and generates category pages like mediawiki, needs to be ran whenever pages are added to categories

Deprecated because they do not preserve history:

  • mw-to-gollum.rb was slightly modified from here: https://gist.github.com/MasterRoot24/ab85de0e7b82ba7f5974 DEPRECATED USE mw2gollum.py instead which preserves history!
  • mediawiki2gollum.sh uses mw-to-gollum.rb to convert the mediawiki xml, then does various things to clean up all the links and names so they will work DEPRECATED USE mw2gollum.py instead which preserves history!

todo: script to generate nginx redirects?