See T359761: Create a parser function to get the direction of a language or script and T310581: Make LanguageCode::bcp47() available in Lua.
This proposes {{#bcp47|sr-ec}} to yield (eg) sr-Cyrl.
See T359761: Create a parser function to get the direction of a language or script and T310581: Make LanguageCode::bcp47() available in Lua.
This proposes {{#bcp47|sr-ec}} to yield (eg) sr-Cyrl.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add {{#bcp47}} parser function | mediawiki/core | master | +141 -0 |
Change #1038879 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):
[mediawiki/core@master] Add {{#bcp47}} parser function
https://gerrit.wikimedia.org/r/1038879
Change #1038879 merged by jenkins-bot:
[mediawiki/core@master] Add {{#bcp47}} parser function
https://gerrit.wikimedia.org/r/1038879
Working with @Ebrahim, we got most of the uses of c:Template:BCP47 replaced with #bcp47 parser function, at least in template namespace. Number of transclusions still listing just under 5M.