Web browser: ---
            Bug ID: 58627
           Summary: action=parse&prop=langlinks should provide language
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: API
    Classification: Unclassified
   Mobile Platform: ---

Currently action=parse&prop=langlinks returns something like

 "lang": "de",
 "url": "";,
 "*": "Foo"

which is not a real substitute for the deprecated languageshtml, as you need a
second request or a static list to get a useful text/tooltip for the link. The
API should add the name of the language (in that language and in the user's
language) to the result, i.e.

 "lang": "de",
 "langname": "German",
 "autonym": "Deutsch",
 "url": "";,
 "*": "Foo"

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to