diff --git a/ApiVisualEditor.php b/ApiVisualEditor.php index ad07615047..795210651c 100644 --- a/ApiVisualEditor.php +++ b/ApiVisualEditor.php @@ -698,27 +698,4 @@ class ApiVisualEditor extends ApiBase { public function isWriteMode() { return true; } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getParamDescription() { - return array( - 'page' => 'The page to perform actions on.', - 'paction' => 'Action to perform', - 'oldid' => 'The revision number to use (defaults to latest version).', - 'html' => 'HTML to send to Parsoid to convert to wikitext', - 'wikitext' => 'Wikitext to send to Parsoid to convert to HTML (paction=parsefragment)', - 'pst' => 'Pre-save transform wikitext before sending it to Parsoid (paction=parsefragment)', - 'cachekey' => 'For serialize or diff, use the result of a previous serializeforcache' - . ' request with this key. Overrides html.', - ); - } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getDescription() { - return 'Returns HTML5 for a page from RESTBase or the Parsoid service.'; - } } diff --git a/ApiVisualEditorEdit.php b/ApiVisualEditorEdit.php index 0f8e31872e..dc4eb10683 100644 --- a/ApiVisualEditorEdit.php +++ b/ApiVisualEditorEdit.php @@ -276,35 +276,4 @@ class ApiVisualEditorEdit extends ApiVisualEditor { public function isWriteMode() { return true; } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getParamDescription() { - return array( - 'page' => 'The page to perform actions on.', - 'oldid' => 'The revision number to use. Defaults to latest revision. Use 0 for new page.', - 'minor' => 'Flag for minor edit.', - 'html' => 'HTML to send to Parsoid in exchange for wikitext', - 'etag' => 'ETag to send', - 'summary' => 'Edit summary', - 'basetimestamp' => 'When saving, set this to the timestamp of the revision that was' - . ' edited. Used to detect edit conflicts.', - 'starttimestamp' => 'When saving, set this to the timestamp of when the page was loaded.' - . ' Used to detect edit conflicts.', - 'token' => 'Edit token', - 'captchaid' => 'Captcha ID (when saving with a captcha response).', - 'captchaword' => 'Answer to the captcha (when saving with a captcha response).', - 'cachekey' => 'Use the result of a previous serializeforcache request with this key.' - . 'Overrides html.', - ); - } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getDescription() { - return 'Save an HTML5 page to MediaWiki (converted to wikitext via RESTBase or the ' . - 'Parsoid service).'; - } }