Remove since MW 1.25 deprecated functions
In class ApiBase the methods * getParamDescription() * getDescription() * getExamples() are deprecated since MediaWiki 1.25. This change requires MediaWiki 1.25+. Change-Id: Ice6b310b8dea3a223f45317aa803a743b5daa680
This commit is contained in:
committed by
[[mw:User:Fomafix]]
parent
ce31c64f84
commit
6dab908f30
@@ -45,34 +45,6 @@ class ApiLanguageSearch extends ApiBase {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getParamDescription() {
|
||||
return array(
|
||||
'search' => 'Search string',
|
||||
'typos' => 'Number of spelling mistakes allowed in the search string',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getDescription() {
|
||||
return 'Search for language names in any script';
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getExamples() {
|
||||
return array(
|
||||
'api.php?action=languagesearch&search=Te',
|
||||
'api.php?action=languagesearch&search=ഫി',
|
||||
'api.php?action=languagesearch&search=ഫി&typos=1',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ApiBase::getExamplesMessages()
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user