Permalink
Browse files

adding yswiki dumps

  • Loading branch information...
Tenshi Hinanawi
Tenshi Hinanawi committed Feb 12, 2013
1 parent 81ae5b3 commit b2fca23b2b86bbad1cf9ab751503b02f40c9e50f
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-# This script does the following to all .mediawiki files in the current directory:
-# 1. uses the mediawiki2html script to convert the mediawiki to HTML.
-# 2. uses pandoc to convert HTML to markdown (leaving any unknown HTML as raw)
-# 3. htmltable2pandoc to convert HTML tables into markdown syntax.
-# 4. sed to restore wikilinks
-
-find -type f -name \*.mediawiki | while read i; do
-NAME=`echo $i | sed -e's/.mediawiki$//'`
- echo "Converting $NAME.mediawiki -> $NAME.md"
- python mediawiki2markdown.py $NAME.mediawiki > $NAME.md
- echo "Done"
- echo
-done
Binary file not shown.
Binary file not shown.

0 comments on commit b2fca23

Please sign in to comment.