dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "(follow-up) Fix "file not found" error in mediawiki.language."
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiOpenSearch.php
diff --git
a/includes/api/ApiOpenSearch.php
b/includes/api/ApiOpenSearch.php
index
9a09c27
..
0727cff
100644
(file)
--- a/
includes/api/ApiOpenSearch.php
+++ b/
includes/api/ApiOpenSearch.php
@@
-24,11
+24,6
@@
* @file
*/
* @file
*/
-if ( !defined( 'MEDIAWIKI' ) ) {
- // Eclipse helper - will be ignored in production
- require_once( "ApiBase.php" );
-}
-
/**
* @ingroup API
*/
/**
* @ingroup API
*/
@@
-116,17
+111,17
@@
class ApiOpenSearch extends ApiBase {
}
public function getDescription() {
}
public function getDescription() {
- return 'Search
es
the wiki using the OpenSearch protocol';
+ return 'Search the wiki using the OpenSearch protocol';
}
}
- p
rotected
function getExamples() {
+ p
ublic
function getExamples() {
return array(
'api.php?action=opensearch&search=Te'
);
}
public function getHelpUrls() {
return array(
'api.php?action=opensearch&search=Te'
);
}
public function getHelpUrls() {
- return '';
+ return '
https://www.mediawiki.org/wiki/API:Opensearch
';
}
public function getVersion() {
}
public function getVersion() {