From RFC
- Zero extension configurations will be stored as wiki pages in JSON format, one page per partner.
- Config pages will reside on meta-wiki, in a dedicated namespace Zero:
- Zero: namespace will be writable only by people in a dedicated security group
- Custom content-handler will validate json structure on Save, and invalidate any related caches.
Many developers want to store JSON on-wiki (e.g. User:Yuvipanda/Campaigns namespace proposal#Implementation, so I hope you implement a general-purpose JsonContent with the last bullet in a subclass. As you probably know, Extension:EventLogging implements a JsonSchemaContent type in a Schema: namespace on meta-wiki and provides a global efSchemaValidate()
function, useful code to borrow and invoke.
This post was posted by SPage (WMF), but signed as S Page (WMF).