PikiPiki is a tiny wiki engine written in 1999 by MartinPool. The original version was less than 600 lines of Python code and is no longer available at its original url (http://sourcefrog.net/projects/piki/).
The version running on this site includes some enhancements by GerardoPoggiali and BernardoInnocenti, but still runs in less than 700 LOCs.