X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWikiMap.php;h=5d90b127c29d2609a4d761f311baccd9aa6010e8;hb=c58873fb4213447615761a55fd2be72fa53f8ec2;hp=a1dbbfc098ca080672fe4f9356a7578d34457998;hpb=b7ea8a066475efa097414d54dcb0e3e955548c94;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiMap.php b/includes/WikiMap.php index a1dbbfc098..5d90b127c2 100644 --- a/includes/WikiMap.php +++ b/includes/WikiMap.php @@ -37,7 +37,7 @@ class WikiMap { $wgConf->loadFullData(); list( $major, $minor ) = $wgConf->siteFromDB( $wikiID ); - if( $major === null ) { + if ( $major === null ) { return null; } $canonicalServer = $wgConf->get( 'wgCanonicalServer', $wikiID, $major, @@ -73,7 +73,7 @@ class WikiMap { * @param string $text link's text; optional, default to "User:$user" * @return String: HTML link or false if the wiki was not found */ - public static function foreignUserLink( $wikiID, $user, $text=null ) { + public static function foreignUserLink( $wikiID, $user, $text = null ) { return self::makeForeignLink( $wikiID, "User:$user", $text ); } @@ -85,7 +85,7 @@ class WikiMap { * @param string $text link's text; optional, default to $page * @return String: HTML link or false if the wiki was not found */ - public static function makeForeignLink( $wikiID, $page, $text=null ) { + public static function makeForeignLink( $wikiID, $page, $text = null ) { if ( !$text ) { $text = $page; }