I like citations. <3 vim.

get the wiki source of a specific article: wget "http://en.wikipedia.org/w/index.php?action=raw&title=Articlename"
kill whitespace inside templates: %s/\s*[\n]\=\s*|\s*\(\(\w\?[0-9A-Za-z_ -]*\)\w\)\s*=\s*/ |\1=/g
kill extra spaces before references: %s/\s\+<ref/<ref/g
move references outside punctuation: %s/\(\(<ref[^<]*<\/ref>\)\+\)\([.,!?;:"']\)/\3\1/g
find beginning of non-template formatted references: /<ref[^>/]*>[^{]
pull references into their own file: grep -o "<ref name=\"[^\"]*\">[^<]*</ref>" file > refs
and then replace the reference: :%s/<ref name="\([^"]*\)">[^<]*<\/ref>/<ref name="\1"\/>/g
and don't forget to :set encoding=utf-8


the most important pages on wikipedia

ouroboros, bakeneko, kitsune, tipu's tiger, cymothoa exigua

todo

Viola Frey

Codex Upsaliensis


Multi-licensed into the public domain
I agree to multi-license my eligible text contributions, unless otherwise stated, under the GFDL and into the public domain. Please be aware that other contributors might not do the same, so if you want to use my contributions in the public domain, please check the multi-licensing guide.