In the spirit of https://www.mediawiki.org/wiki/Everything_is_a_wiki_page
A page with a JSON backend using a storage structure similar to https://noc.wikimedia.org/conf/highlight.php?file=throttle.php would be a good first step. Once that's established, we could build a proper editing frontend.
This automatically adds API support, revision history, diffs, etc.