CIDR ranges for blocking
* $wgUseInstantCommons added for quick and easy enabling of Commons as a remote
file repository
+* $wgWikiId added to override default output of wfWikiId()
=== New features in 1.16 ===
*/
$wgLBFactoryConf = array( 'class' => 'LBFactory_Simple' );
+/**
+ * Unique identifier if you're paranoid and don't want $wgDBname as part of
+ * wfWikiId(). See bug 21086
+ */
+$wgWikiId = false;
+
/** How long to wait for a slave to catch up to the master */
$wgMasterWaitTimeout = 10;
* This is used as a prefix in memcached keys
*/
function wfWikiID() {
- global $wgDBprefix, $wgDBname;
+ global $wgDBprefix, $wgDBname, $wgWikiId;
+ if( $wgWikiId )
+ return $wgWikiId;
if ( $wgDBprefix ) {
return "$wgDBname-$wgDBprefix";
} else {