Index: trunk/phase3/includes/api/ApiRsd.php |
— | — | @@ -47,8 +47,8 @@ |
48 | 48 | |
49 | 49 | $service = array( 'apis' => $this->formatRsdApiList() ); |
50 | 50 | ApiResult::setContent( $service, 'MediaWiki', 'engineName' ); |
51 | | - ApiResult::setContent( $service, 'http://www.mediawiki.org/w/api.php', 'engineLink' ); |
52 | | - ApiResult::setContent( $service, 'http://www.mediawiki.org/', 'homePageLink' ); |
| 51 | + ApiResult::setContent( $service, 'http://www.mediawiki.org/', 'engineLink' ); |
| 52 | + ApiResult::setContent( $service, Title::newMainPage()->getFullURL(), 'homePageLink' ); |
53 | 53 | |
54 | 54 | $result->setIndexedTagName( $service['apis'], 'api' ); |
55 | 55 | |