mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-24 07:53:37 +00:00
Remove use of deprecated getPossibleErrors (since 1.24)
Change-Id: I30d3ccc834dcc7eaa9534cfb7c5c6047752f147b
This commit is contained in:
parent
b82e0cde9c
commit
40907dd714
|
@ -129,13 +129,6 @@ class ApiTemplateData extends ApiBase {
|
|||
return 'Data stored by the TemplateData extension';
|
||||
}
|
||||
|
||||
public function getPossibleErrors() {
|
||||
return array_merge(
|
||||
parent::getPossibleErrors(),
|
||||
$this->getPageSet()->getPossibleErrors()
|
||||
);
|
||||
}
|
||||
|
||||
public function getExamples() {
|
||||
return array(
|
||||
'api.php?action=templatedata&titles=Template:Stub|Template:Example',
|
||||
|
|
Loading…
Reference in a new issue