Weewiki is the software that used to power this wiki. It was written by Paul Batchelor. Content is written in org-mode, and either saved to the file system and a sqlite database, or just to the sqlite database.
SQL in WeeWiki
It uses a bespoke org parser, orgparse. Whilst not as fully featured as pandoc, it gets the job done!
It is also scriptable using Janet.