From 69a820425c0404963f5d5d7dbc60aef8c53e9510 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Mon, 24 Oct 2016 13:48:37 -0400 Subject: [PATCH] API: Update ApiOptions docs for I45f69997 Now that we have an alternative multiple-value separator, the documentation for action=options's change parameter should recommend that instead of stating that values cannot contain pipes. Change-Id: Ia0ff2c16be9cab3e1e303a5c7c618455167db31c --- includes/api/i18n/en.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index c20ed5d31f..fe73a56a5f 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -289,9 +289,9 @@ "apihelp-options-description": "Change preferences of the current user.\n\nOnly options which are registered in core or in one of installed extensions, or options with keys prefixed with userjs- (intended to be used by user scripts), can be set.", "apihelp-options-param-reset": "Resets preferences to the site defaults.", "apihelp-options-param-resetkinds": "List of types of options to reset when the $1reset option is set.", - "apihelp-options-param-change": "List of changes, formatted name=value (e.g. skin=vector). Value cannot contain pipe characters. If no value is given (not even an equals sign), e.g., optionname|otheroption|..., the option will be reset to its default value.", + "apihelp-options-param-change": "List of changes, formatted name=value (e.g. skin=vector). If no value is given (not even an equals sign), e.g., optionname|otheroption|..., the option will be reset to its default value. If any value passed contains the pipe character (|), use the [[Special:ApiHelp/main#main/datatypes|alternative multiple-value separator]] for correct operation.", "apihelp-options-param-optionname": "The name of the option that should be set to the value given by $1optionvalue.", - "apihelp-options-param-optionvalue": "The value for the option specified by $1optionname, can contain pipe characters.", + "apihelp-options-param-optionvalue": "The value for the option specified by $1optionname.", "apihelp-options-example-reset": "Reset all preferences.", "apihelp-options-example-change": "Change skin and hideminor preferences.", "apihelp-options-example-complex": "Reset all preferences, then set skin and nickname.", -- 2.20.1