MDN is a wiki! There's a django backend which also uses a node.js web service for wiki templating features.
I have done some experiments with static exports using dynamic frameworks like Rails, and man, it really makes a huge difference. Of course, if your content is mainly static.
https://github.com/mozilla/kuma/blob/master/apps/wiki/models...