Hey All,
I wrote some quick code to change mediawiki preformatted text (adjacent lines begining with a ' ') to nowiki blocks (first line with a ' ' and rest enclosed in <nowiki>...</nowiki> quotes).
http://lpaste.net/94688
I frequently find myself pretty unsatisfied with this type of code though. Anyone have any rewrites that would help teach me how to do this more elegantly in the future.