Are you sure you want to go with such an overcomplicated system for a wiki? It would seem to me like markdown files would suffice ..