Help: Wiki engine to handle structuded datas

I’m looking for a wiki engine or API to handle structured data, not text
pages. It should implement common features like non destructive editing,
versioning, spam detection…

Thanks to everyone