mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-23 21:53:40 +00:00
Remove pre-1.25 API compatibility code
Since this extension uses extension.json, it already requires 1.25+ so no need to keep the old code around. Change-Id: I4acbeec983367f0bd3e7b1996d377bb6e5835d63
This commit is contained in:
parent
edaca9c580
commit
75a8813c86
|
@ -90,34 +90,6 @@ class ApiQueryTitleBlacklist extends ApiBase {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getParamDescription() {
|
||||
return array(
|
||||
'title' => 'The string to validate against the blacklist',
|
||||
'nooverride' => 'Don\'t try to override the titleblacklist',
|
||||
'action' => 'The thing you\'re trying to do',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getDescription() {
|
||||
return 'Validate an article title, filename, or username against the TitleBlacklist.';
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since MediaWiki core 1.25
|
||||
*/
|
||||
public function getExamples() {
|
||||
return array(
|
||||
'api.php?action=titleblacklist&tbtitle=Foo',
|
||||
'api.php?action=titleblacklist&tbtitle=Bar&tbaction=edit',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see ApiBase::getExamplesMessages()
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue