summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2ea9eb3)
Change-Id: I07ae057dffc2c7203cde2c24ebb27067338b5096
public static function getWikiIdFromDbDomain( $domain ) {
$domain = DatabaseDomain::newFromId( $domain );
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 <DB>-<project>-<language>, meaning that
// 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 <DB>-<project>-<language>, meaning that
$domain = DatabaseDomain::newFromId( $domain );
$curDomain = self::getCurrentWikiDbDomain();
$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 <DB>-<project>-<language>, meaning that
// 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 <DB>-<project>-<language>, meaning that