* @file
*/
-if ( !defined( 'MEDIAWIKI' ) ) {
- // Eclipse helper - will be ignored in production
- require_once( "ApiBase.php" );
-}
-
/**
* @ingroup API
*/
}
public function getDescription() {
- return 'Searches the wiki using the OpenSearch protocol';
+ return 'Search the wiki using the OpenSearch protocol';
}
- protected function getExamples() {
+ public function getExamples() {
return array(
'api.php?action=opensearch&search=Te'
);
}
public function getHelpUrls() {
- return 'http://www.mediawiki.org/wiki/API:Opensearch';
+ return 'https://www.mediawiki.org/wiki/API:Opensearch';
}
public function getVersion() {