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:
Fomafix
2016-03-30 07:07:21 +00:00
committed by [[mw:User:Fomafix]]
parent ce31c64f84
commit 6dab908f30
2 changed files with 0 additions and 54 deletions

View File

@@ -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() * @see ApiBase::getExamplesMessages()
*/ */

View File

@@ -54,32 +54,6 @@ class ApiULSLocalization extends ApiBase {
); );
} }
/**
* @deprecated since MediaWiki core 1.25
*/
public function getParamDescription() {
return array(
'language' => 'Language string',
);
}
/**
* @deprecated since MediaWiki core 1.25
*/
public function getDescription() {
return 'Get the localization of ULS in given language';
}
/**
* @deprecated since MediaWiki core 1.25
*/
public function getExamples() {
return array(
'api.php?action=ulslocalization&language=ta',
'api.php?action=ulslocalization&language=hi',
);
}
/** /**
* @see ApiBase::getExamplesMessages() * @see ApiBase::getExamplesMessages()
*/ */