Page MenuHomePhabricator

Wikifunctions table of function implementations should display programming language label taken from wiki and not the hard-coded code
Closed, DuplicatePublicFeature

Description

Feature summary (what you would like to be able to do and where):
Programming language names often look the same for languages, but as can be seen on Wikidata item for e.g. JavaScript (https://www.wikidata.org/wiki/Q2005#sitelinks-wikipedia), there are languages that write that name with the national alphabet. It would be nice if Wikifunctions displayed the prog. language's name for these users as they are used to it and not in English.

Or, as with function composition, expose a translatable message for JavaScript and Python (and perhaps other, future languages in due time).

Benefits (why should this be implemented?):
Better i18n of Wikifunctions

Event Timeline

Please note currenly what is displayed is "javascript" and "python", both of which are not properly capitalized (should instead be "JavaScript" and "Python").

Also, there are objects for programming languages so it may be meaningful to take the labels there instead of from Wikidata. See T343685: Allow reuse localizations from Wikidata