From 4044a493745512a505495696774fde227e8445ad Mon Sep 17 00:00:00 2001 From: victorbarbu Date: Wed, 20 Jan 2016 11:51:01 +0200 Subject: [PATCH] Add logic for "tags" in ApiBase Bug: T97720 Change-Id: I275c516b4744e243333ec0818d2be1e5508e54a3 --- includes/api/ApiBase.php | 12 ++++++++++++ includes/api/ApiDelete.php | 2 +- includes/api/ApiEditPage.php | 7 ++++--- includes/api/ApiHelp.php | 11 +++++++++++ includes/api/ApiParamInfo.php | 2 ++ includes/api/ApiRollback.php | 2 +- includes/api/ApiTag.php | 6 +----- 7 files changed, 32 insertions(+), 10 deletions(-) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 13d13a6853..c60a870ba7 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -74,6 +74,8 @@ abstract class ApiBase extends ContextSource { * - string: Any non-empty string, not expected to be very long or contain newlines. * would be an appropriate HTML form field. * - submodule: The name of a submodule of this module, see PARAM_SUBMODULE_MAP. + * - tags: A string naming an existing, explicitly-defined tag. Should usually be + * used with PARAM_ISMULTI. * - text: Any non-empty string, expected to be very long or contain newlines. *