User:Jasper Deng/$wgConf alternative

Since $wgConf is not that reliable, but you still want your setting to be set by a common settings file, you can use the following examples. Disclaimer: This is not a substitute for $wgConf if you are using CentralAuth, and this is not officially endorsed by MediaWiki developers.