aboutsummaryrefslogtreecommitdiffstats
path: root/includes/WikiMap.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/WikiMap.php')
-rw-r--r--includes/WikiMap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/WikiMap.php b/includes/WikiMap.php
index a03bc19412bc..6a532e5da5f3 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 );