Index: trunk/extensions/SiteMatrix/SiteMatrixApi.php |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | |
59 | 59 | $url = $matrix->getUrl( $lang, $site ); |
60 | 60 | $site_out = array( |
61 | | - 'url' => $url, |
| 61 | + 'url' => wfExpandUrl( $url ), |
62 | 62 | 'dbname' => $matrix->getDBName( $lang, $site ), |
63 | 63 | 'code' => $site, |
64 | 64 | ); |
— | — | @@ -91,7 +91,7 @@ |
92 | 92 | $url = $matrix->getUrl( $lang, $site ); |
93 | 93 | |
94 | 94 | $wiki = array(); |
95 | | - $wiki['url'] = $url; |
| 95 | + $wiki['url'] = wfExpandUrl( $url ); |
96 | 96 | $wiki['dbname'] = $matrix->getDBName( $lang, $site ); |
97 | 97 | $wiki['code'] = str_replace( '_', '-', $lang ) . ( $site != 'wiki' ? $site : '' ); |
98 | 98 | |