X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Finterwiki%2FClassicInterwikiLookup.php;h=7a8e64f5cea5104e7993b73c72fd3f080f840ef0;hb=5196ac32c60bf370463135c14eed3bba0d361940;hp=f6265f787adafcbbe97875ba4801321588187f0c;hpb=937fb7eedcca1af78785e8e156b7ff69b1447101;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/interwiki/ClassicInterwikiLookup.php b/includes/interwiki/ClassicInterwikiLookup.php index f6265f787a..7a8e64f5ce 100644 --- a/includes/interwiki/ClassicInterwikiLookup.php +++ b/includes/interwiki/ClassicInterwikiLookup.php @@ -214,7 +214,7 @@ class ClassicInterwikiLookup implements InterwikiLookup { private function getInterwikiCacheEntry( $prefix ) { wfDebug( __METHOD__ . "( $prefix )\n" ); - $wikiId = WikiMap::getWikiIdFromDomain( WikiMap::getCurrentWikiDomain() ); + $wikiId = WikiMap::getWikiIdFromDbDomain( WikiMap::getCurrentWikiDbDomain() ); $value = false; try { @@ -339,7 +339,7 @@ class ClassicInterwikiLookup implements InterwikiLookup { private function getAllPrefixesCached( $local ) { wfDebug( __METHOD__ . "()\n" ); - $wikiId = WikiMap::getWikiIdFromDomain( WikiMap::getCurrentWikiDomain() ); + $wikiId = WikiMap::getWikiIdFromDbDomain( WikiMap::getCurrentWikiDbDomain() ); $data = []; try {