Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/317547

Change subject: API: Update ApiOptions docs for I45f69997
......................................................................

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
---
M includes/api/i18n/en.json
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/47/317547/1

diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json
index c20ed5d..fe73a56 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 <code>userjs-</code> (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 <var>$1reset</var> 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 (<kbd>|</kbd>), 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 <var>$1optionvalue</var>.",
-       "apihelp-options-param-optionvalue": "The value for the option 
specified by <var>$1optionname</var>, can contain pipe characters.",
+       "apihelp-options-param-optionvalue": "The value for the option 
specified by <var>$1optionname</var>.",
        "apihelp-options-example-reset": "Reset all preferences.",
        "apihelp-options-example-change": "Change <kbd>skin</kbd> and 
<kbd>hideminor</kbd> preferences.",
        "apihelp-options-example-complex": "Reset all preferences, then set 
<kbd>skin</kbd> and <kbd>nickname</kbd>.",

-- 
To view, visit https://gerrit.wikimedia.org/r/317547
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0ff2c16be9cab3e1e303a5c7c618455167db31c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to