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