X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2FWikiMap.php;h=dbad4b07415305a345c2aaea55c96e39606fc68e;hb=e205941a92eb1f46b1ea5997c01e402cdf91bca1;hp=628fbc02571946f23a4d45316d74cb93c9c9eca9;hpb=2ea9eb3460a6abb27b9e69c9d72ce56ef08da6f5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiMap.php b/includes/WikiMap.php index 628fbc0257..dbad4b0741 100644 --- a/includes/WikiMap.php +++ b/includes/WikiMap.php @@ -255,7 +255,7 @@ class WikiMap { public static function getWikiIdFromDbDomain( $domain ) { $domain = DatabaseDomain::newFromId( $domain ); - if ( !in_array( $domain->getSchema(), [ null, 'mediawiki' ], true ) ) { + if ( !in_array( $domain->getSchema(), [ null, 'mediawiki', 'dbo' ], true ) ) { // Include the schema if it is set and is not the default placeholder. // This means a site admin may have specifically taylored the schemas. // Domain IDs might use the form --, meaning that @@ -298,7 +298,7 @@ class WikiMap { $domain = DatabaseDomain::newFromId( $domain ); $curDomain = self::getCurrentWikiDbDomain(); - if ( !in_array( $curDomain->getSchema(), [ null, 'mediawiki' ], true ) ) { + if ( !in_array( $curDomain->getSchema(), [ null, 'mediawiki', 'dbo' ], true ) ) { // Include the schema if it is set and is not the default placeholder. // This means a site admin may have specifically taylored the schemas. // Domain IDs might use the form --, meaning that