Feature summary (what you would like to be able to do and where):
Support the apc language code.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
I want to be able to use language=apc (for instance) in citation templates on the English Wikipedia.
However, there is a limited number of supported languages for citation on Wikipedia: https://en.wikipedia.org/wiki/Template:Citation_Style_documentation/language/doc
In particular, Levantine Arabic is not recognized whereas other Arabic varieties such as arz (Egyptian), arq (Algerian), aeb (Tunisian), shu (Chadian), and ary (Moroccan) are: https://en.wikipedia.org/wiki/Help_talk:Citation_Style_1#Add_languages
Benefits (why should this be implemented?):
Support one of the most spoken and most widely understood Arabic varieties in the Arab world.
According to T187344: Add language codes for Arabic languages for use in labels, aliases and descriptions to Wikidata; "If one or the other language code is needed (for labels/descriptions/aliases) or just monolingual string or lexemes, it might be worth creating a separate request.", here it is!
See also: T286290: Update Levantine Arabic language & T286417: Default font for Levantine Arabic (ajp/apc) shows incorrect glyphs on Windows 10
Adding languages: https://www.mediawiki.org/wiki/Manual:Adding_and_removing_languages
- Add to translatewiki
- Add to cldr extension if possible or the cldr overrides
- Add to language-data if not possible to add to cldr extension
- Add to includes/languages/data/Names.php (patch)
- Set fallback, etc. (discussion, jquery.i18n patch, core patch)
- Add to rtl languages of MF (patch)
- Add to release notes (patch)
- Remove from translatewiki after deploying the core change (patch)
- Fix ULS language search (patch)
(Comment: The initial version of this task included the ajp code, but that code was deprecated in ISO 639 since then.)