DynamicSettings should be switched to completely use $wgConf. At the minute, it writes to /sites/<domain>/LocalSettings.php which is later loaded into the global LocalSettings file. We can essentially remove this and instead go to storing in /cache/dbname.json which and load that into $wgConf, which is currently how CreateWiki/ManageWiki does things. This should be a bit easier.
Following this, certain things would need to be changed.
- The recache method would have to recache the config.json file, not the LocalSettings.php file.
- Everything should just be written to the database, and to Redis. TelepediaFunctions will control when the config file is recached.