Fix documentation of languageinfo name prop
authorLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Mon, 29 Jul 2019 17:12:17 +0000 (19:12 +0200)
committerLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Mon, 29 Jul 2019 17:12:17 +0000 (19:12 +0200)
A separate lilang parameter existed in some patch sets of change
Ic66991cd85, but was ultimately abandoned again in favor of respecting
the general uselang parameter. Apparently I forgot to update the
documentation, though.

Change-Id: I2722f7a513c963bb9fec0308c413ae02e00851c6

includes/api/i18n/en.json

index cae7687..6625863 100644 (file)
        "apihelp-query+languageinfo-paramvalue-prop-bcp47": "The BCP-47 language code.",
        "apihelp-query+languageinfo-paramvalue-prop-dir": "The writing direction of the language (either <code>ltr</code> or <code>rtl</code>).",
        "apihelp-query+languageinfo-paramvalue-prop-autonym": "The autonym of the language, that is, the name in that language.",
-       "apihelp-query+languageinfo-paramvalue-prop-name": "The name of the language in the language specified by the <var>lilang</var> parameter, with language fallbacks applied if necessary.",
+       "apihelp-query+languageinfo-paramvalue-prop-name": "The name of the language in the language specified by the <var>uselang</var> parameter, with language fallbacks applied if necessary.",
        "apihelp-query+languageinfo-paramvalue-prop-fallbacks": "The language codes of the fallback languages configured for this language. The implicit final fallback to 'en' is not included (but some languages may fall back to 'en' explicitly).",
        "apihelp-query+languageinfo-paramvalue-prop-variants": "The language codes of the variants supported by this language.",
        "apihelp-query+languageinfo-param-code": "Language codes of the languages that should be returned, or <code>*</code> for all languages.",