wfWikiID() is used as a way to identify and connect to a given database in LoadBalancer and various extensions, that's why it must contain the database name and table prefix. Perhaps its use as a public identifier should be optional, but in that case the public identifier needs to be customised, not the return value of wfWikiID().
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()
* $wgDBAhandler added to choose a DBA handler when using CACHE_DBA
* $wgPreviewOnOpenNamespaces for extensions that create namespaces that behave
similarly to the category namespace.
*/
$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, $wgWikiId;
- if( $wgWikiId )
- return $wgWikiId;
+ global $wgDBprefix, $wgDBname;
if ( $wgDBprefix ) {
return "$wgDBname-$wgDBprefix";
} else {