X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWikiMap.php;h=6a532e5da5f3a748a9d32979ff103ddf11bf8cf8;hb=24ebca2251f94a20acee53e583d65aa7fac2c15d;hp=a03bc19412bc373906cf6dd871612982ef3a2c73;hpb=c5fa9b4e646facc3dc67fa6d9c0e87e65a8cd2b2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiMap.php b/includes/WikiMap.php index a03bc19412..6a532e5da5 100644 --- a/includes/WikiMap.php +++ b/includes/WikiMap.php @@ -115,7 +115,7 @@ class WikiMap { * @return string|int Wiki's name or $wiki_id if the wiki was not found */ public static function getWikiName( $wikiID ) { - $wiki = WikiMap::getWiki( $wikiID ); + $wiki = self::getWiki( $wikiID ); if ( $wiki ) { return $wiki->getDisplayName(); @@ -166,7 +166,7 @@ class WikiMap { * @return string|bool URL or false if the wiki was not found */ public static function getForeignURL( $wikiID, $page, $fragmentId = null ) { - $wiki = WikiMap::getWiki( $wikiID ); + $wiki = self::getWiki( $wikiID ); if ( $wiki ) { return $wiki->getFullUrl( $page, $fragmentId );