Merge pull request #1 from PureCS/master

Update README
This commit is contained in:
Travis Burtrum 2018-07-03 14:42:00 -04:00 committed by GitHub
commit 2f6201ad71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 14 deletions

View File

@ -1,14 +1 @@
This is the wiki hosted at rswiki.moparisthebest.com, in the wiki git repo. # You can find the new repository [here](https://github.com/moparisthebest/rswiki-book/)
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
* nginxredirect.sh is run to create an nginx config file to redirect old mediawiki titles to the new gollum URLs, generated nginxredirect.conf
* 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!

14
info.md Normal file
View File

@ -0,0 +1,14 @@
This was 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
* nginxredirect.sh is run to create an nginx config file to redirect old mediawiki titles to the new gollum URLs, generated nginxredirect.conf
* 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!