Index: trunk/phase3/includes/api/ApiRsd.php |
— | — | @@ -47,7 +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/', 'engineLink' ); |
| 51 | + ApiResult::setContent( $service, 'http://www.mediawiki.org/w/api.php', 'engineLink' ); |
| 52 | + ApiResult::setContent( $service, 'http://www.mediawiki.org/', 'homePageLink' ); |
52 | 53 | |
53 | 54 | $result->setIndexedTagName( $service['apis'], 'api' ); |
54 | 55 | |
— | — | @@ -67,7 +68,7 @@ |
68 | 69 | } |
69 | 70 | |
70 | 71 | public function getDescription() { |
71 | | - return 'Export an RSD schema'; |
| 72 | + return 'Export an RSD (Really Simple Discovery) schema'; |
72 | 73 | } |
73 | 74 | |
74 | 75 | protected function getExamples() { |
— | — | @@ -100,7 +101,7 @@ |
101 | 102 | 'apiLink' => wfExpandUrl( wfScript( 'api' ) ), |
102 | 103 | |
103 | 104 | // Docs link is optional, but recommended. |
104 | | - 'docs' => 'http://mediawiki.org/wiki/API', |
| 105 | + 'docs' => 'http://www.mediawiki.org/wiki/API', |
105 | 106 | |
106 | 107 | // Some APIs may need a blog ID, but it may be left blank. |
107 | 108 | 'blogID' => '', |