https://bugzilla.wikimedia.org/show_bug.cgi?id=58627

       Web browser: ---
            Bug ID: 58627
           Summary: action=parse&prop=langlinks should provide language
                    names
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: listenle...@gmail.com
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
    Classification: Unclassified
   Mobile Platform: ---

Currently action=parse&prop=langlinks returns something like

{
 "lang": "de",
 "url": "https://de.wikipedia.org/wiki/Foo";,
 "*": "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": "https://de.wikipedia.org/wiki/Foo";,
 "*": "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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to