User:Jasper Deng/$wgConf alternative

Since $wgConf has its limitations, you can use the following examples for a common settings file. This is somewhat used by the Wikimedia Foundation, especially for extensions and namespaces not on all wikis. Disclaimer: This is not a substitute for $wgConf if you are using CentralAuth, and this is not officially endorsed by MediaWiki developers.