X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Finterwiki%2FClassicInterwikiLookup.php;h=7a8e64f5cea5104e7993b73c72fd3f080f840ef0;hp=f6265f787adafcbbe97875ba4801321588187f0c;hb=5196ac32c6;hpb=9ef78ab4c18ccb352043b87f371cc0a642f0166c 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 {