Rephrase api-help-param-list for clarity
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Sat, 12 Sep 2015 10:04:51 +0000 (13:04 +0300)
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Sat, 12 Sep 2015 10:04:51 +0000 (13:04 +0300)
What is currently shown on the ApiHelp is something like this:
One value: title, text, nearmatch

It would be clearer to say
One of the following values: title, text, nearmatch

The example is from
https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bsearch

Change-Id: I92f17f90ae77c6c151b817bae8b2f08d858a0f64

includes/api/i18n/en.json

index 43df9ea..2cb0e37 100644 (file)
        "api-help-param-type-password": "",
        "api-help-param-type-timestamp": "Type: {{PLURAL:$1|1=timestamp|2=list of timestamps}} ([[Special:ApiHelp/main#main/datatypes|allowed formats]])",
        "api-help-param-type-user": "Type: {{PLURAL:$1|1=user name|2=list of user names}}",
-       "api-help-param-list": "{{PLURAL:$1|1=One value|2=Values (separate with <kbd>{{!}}</kbd>)}}: $2",
+       "api-help-param-list": "{{PLURAL:$1|1=One of the following values|2=Values (separate with <kbd>{{!}}</kbd>)}}: $2",
        "api-help-param-list-can-be-empty": "{{PLURAL:$1|0=Must be empty|Can be empty, or $2}}",
        "api-help-param-limit": "No more than $1 allowed.",
        "api-help-param-limit2": "No more than $1 ($2 for bots) allowed.",