<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://themidnight.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ABCP47</id>
	<title>Template:BCP47 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://themidnight.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ABCP47"/>
	<link rel="alternate" type="text/html" href="https://themidnight.wiki/index.php?title=Template:BCP47&amp;action=history"/>
	<updated>2026-04-03T23:07:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://themidnight.wiki/index.php?title=Template:BCP47&amp;diff=7674&amp;oldid=prev</id>
		<title>Timothy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://themidnight.wiki/index.php?title=Template:BCP47&amp;diff=7674&amp;oldid=prev"/>
		<updated>2023-06-12T15:53:34Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:53, 12 June 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Timothy</name></author>
	</entry>
	<entry>
		<id>https://themidnight.wiki/index.php?title=Template:BCP47&amp;diff=7673&amp;oldid=prev</id>
		<title>wikimedia&gt;Tacsipacsi: copy a much longer list from Meta</title>
		<link rel="alternate" type="text/html" href="https://themidnight.wiki/index.php?title=Template:BCP47&amp;diff=7673&amp;oldid=prev"/>
		<updated>2021-10-09T10:00:07Z</updated>

		<summary type="html">&lt;p&gt;copy a much longer list from &lt;a href=&quot;https://meta.wikimedia.org/wiki/Special:PermanentLink/21925090&quot; class=&quot;extiw&quot; title=&quot;m:Special:PermanentLink/21925090&quot;&gt;Meta&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#switch:{{lc:{{{1|}}}}}&lt;br /&gt;
&amp;lt;!-- pseudo codes --&amp;gt;&lt;br /&gt;
||root|default|i-default=&amp;lt;!-- empty language tag means unknown per the HTML spec --&amp;gt;&amp;lt;!-- or ={{int:lang}}? (the best user default), or =en? (the default &amp;quot;ContentLanguage&amp;quot; for unlocalized data on Meta) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- current BCP47 violations by Wikimedia sites, which can be fixed using standard tags when they exist --&amp;gt;&lt;br /&gt;
|als=gsw&lt;br /&gt;
|bat-smg=sgs&lt;br /&gt;
|de-formal=de&amp;lt;!-- could be &amp;quot;de-x-formal&amp;quot;, but actually a subset within standard &amp;quot;de&amp;quot; for HTML/XML --&amp;gt;&lt;br /&gt;
|eml=egl&amp;lt;!-- retired code, the de facto eml.wikipedia uses Emilian, not Romagnol --&amp;gt;&lt;br /&gt;
|fiu-vro=vro&lt;br /&gt;
|mo=ro-cyrl&amp;lt;!-- retired, best fit on Wikimedia sites, but no longer working in interwikis (Wikipedia project deleted) --&amp;gt;&lt;br /&gt;
|nl-informal=nl&amp;lt;!-- could be &amp;quot;nl-x-informal&amp;quot;, but actually a subset within standard &amp;quot;nl&amp;quot; for HTML/XML --&amp;gt;&lt;br /&gt;
|nrm=nrf&amp;lt;!-- Wikimedia sites uses &amp;quot;nrm&amp;quot; to mean Norman, but standard &amp;quot;nrm&amp;quot; is an unrelated language. The &amp;quot;nrf&amp;quot; code is now standardized for Norman (previously used a private-use extension of French &amp;quot;fr-x-nrm&amp;quot;) --&amp;gt;&lt;br /&gt;
|roa-rup=rup&lt;br /&gt;
|simple=en&amp;lt;!-- could be &amp;quot;en-simple&amp;quot; but actually a subset within standard &amp;quot;en&amp;quot; for HTML --&amp;gt;&lt;br /&gt;
|sr-ec=sr-cyrl&lt;br /&gt;
|sr-el=sr-latn&lt;br /&gt;
|zh-classical=lzh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- other current BCP47 violations by Wikimedia sites, fixed using private-use extensions (if they are needed, labels are limited to 8 letters/digits) --&amp;gt;&lt;br /&gt;
|cbk-zam=cbk-x-zam&lt;br /&gt;
|map-bms=jv-x-bms&lt;br /&gt;
|roa-tara=it-x-tara&lt;br /&gt;
|tokipona|tp=x-tokipona&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- conforming BCP47 &amp;quot;private-use&amp;quot; extensions used by Wikimedia, which are no longer needed, and improved using now standard codes --&amp;gt;&lt;br /&gt;
|be-x-old=be-tarask&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- conforming but ambiguous BCP47 codes used by Wikimedia in a more restrictive way, with more precision --&amp;gt;&lt;br /&gt;
|arc=syc&amp;lt;!-- The de-facto arc.wikipedia.org, as per their community request, is in actual using Syriac which is coded as syc --&amp;gt;&lt;br /&gt;
|no=nb&amp;lt;!-- &amp;quot;no&amp;quot; means Bokmål on Wikimedia sites, &amp;quot;nb&amp;quot; is not used --&amp;gt;&lt;br /&gt;
|bh=bho&amp;lt;!-- &amp;quot;bh&amp;quot;=&amp;quot;bih&amp;quot; is a language family, interpreted in Wikimedia as the single language &amp;quot;bho&amp;quot;, even if its interwiki code remains bh) --&amp;gt;&lt;br /&gt;
|tgl=tl-tglg&amp;lt;!-- &amp;quot;tgl&amp;quot; on Wikimedia is the historic variant of the Tagalog macrolanguage (&amp;quot;tl&amp;quot; or &amp;quot;tgl&amp;quot;, &amp;quot;tl&amp;quot; recommended for BCP47), written in the Baybayin script (&amp;quot;tglg&amp;quot;) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- conforming BCP47 &amp;quot;inherited&amp;quot; tags, strongly discouraged and replaced by their recommended tags (complete list that should not be augmented now) --&amp;gt;&lt;br /&gt;
|art-lojban=jbo&amp;lt;!-- still used in some old Wikimedia templates --&amp;gt;&lt;br /&gt;
|en-gb-oed=en-gb&amp;lt;!-- no preferred replacement, could be &amp;quot;en-gb-x-oed&amp;quot; but actually a subset within standard &amp;quot;en-gb&amp;quot; --&amp;gt;&lt;br /&gt;
|i-ami=ami&lt;br /&gt;
|i-bnn=bnn&lt;br /&gt;
|i-hak=hak&lt;br /&gt;
|i-klingon=tlh&lt;br /&gt;
|i-lux=lb&lt;br /&gt;
|i-navajo=nv&lt;br /&gt;
|i-pwn=pwn&lt;br /&gt;
|i-tao=tao&lt;br /&gt;
|i-tay=tay&lt;br /&gt;
|i-tsu=tstu&lt;br /&gt;
|no-bok=nb&amp;lt;!-- still used in some old Wikimedia templates --&amp;gt;&lt;br /&gt;
|no-nyn=nn&amp;lt;!-- still used in some old Wikimedia templates --&amp;gt;&lt;br /&gt;
|sgn-be-fr=sfb&lt;br /&gt;
|sgn-be-nl=vgt&lt;br /&gt;
|sgn-ch-de=sgg&lt;br /&gt;
|zh-guoyu=cmn&amp;lt;!-- this could be an alias of &amp;quot;zh&amp;quot; on Wikimedia sites, which do not use &amp;quot;cmn&amp;quot; but assume &amp;quot;zh&amp;quot; is Mandarin --&amp;gt;&lt;br /&gt;
|zh-hakka=hak&lt;br /&gt;
|zh-min=zh-tw&amp;lt;!-- no preferred replacement, could be &amp;quot;zh-x-min&amp;quot;, but actually a subset within standard &amp;quot;zh-tw&amp;quot;; not necessarily &amp;quot;nan&amp;quot; --&amp;gt;&lt;br /&gt;
|zh-min-nan=nan&amp;lt;!-- used in some old Wikimedia templates and in interwikis --&amp;gt;&lt;br /&gt;
|zh-xiang=hsn&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- conforming BCP47 &amp;quot;redundant&amp;quot; tags, discouraged and replaced by their recommended tags (complete list that should not be augmented now) --&amp;gt;&lt;br /&gt;
|sgn-br=bzs&lt;br /&gt;
|sgn-co=csn&lt;br /&gt;
|sgn-de=gsg&lt;br /&gt;
|sgn-dk=dsl&lt;br /&gt;
|sgn-es=ssp&lt;br /&gt;
|sgn-fr=fsl&amp;lt;!-- still used in some old Wikimedia templates --&amp;gt;&lt;br /&gt;
|sgn-gb=bfi&lt;br /&gt;
|sgn-gr=gss&lt;br /&gt;
|sgn-ie=isg&lt;br /&gt;
|sgn-it=ise&lt;br /&gt;
|sgn-jp=jsl&lt;br /&gt;
|sgn-mx=mfs&lt;br /&gt;
|sgn-ni=ncs&lt;br /&gt;
|sgn-nl=dse&lt;br /&gt;
|sgn-no=nsl&lt;br /&gt;
|sgn-pt=psr&lt;br /&gt;
|sgn-se=swl&lt;br /&gt;
|sgn-us=ase&amp;lt;!-- still used in some old Wikimedia templates --&amp;gt;&lt;br /&gt;
|sgn-za=sfs&lt;br /&gt;
|zh-cmn=cmn&amp;lt;!-- still used in some old Wikimedia templates, this could be an alias of &amp;quot;zh&amp;quot; on Wikimedia sites, which do not use &amp;quot;cmn&amp;quot; but assume &amp;quot;zh&amp;quot; is Mandarin --&amp;gt;&lt;br /&gt;
|zh-cmn-Hans=cmn-hans&amp;lt;!-- still used in some old Wikimedia templates, this could be an alias of &amp;quot;zh-hans&amp;quot; on Wikimedia sites, which do not use &amp;quot;cmn&amp;quot; but assume &amp;quot;zh&amp;quot; is Mandarin --&amp;gt;&lt;br /&gt;
|zh-cmn-Hant=cmn-hant&amp;lt;!-- still used in some old Wikimedia templates, this could be an alias of &amp;quot;zh-hant&amp;quot; on Wikimedia sites, which do not use &amp;quot;cmn&amp;quot; but assume &amp;quot;zh&amp;quot; is Mandarin --&amp;gt;&lt;br /&gt;
|zh-gan=gan&amp;lt;!-- still used in some old Wikimedia templates --&amp;gt;&lt;br /&gt;
|zh-wuu=wuu&amp;lt;!-- still used in some old Wikimedia templates --&amp;gt;&lt;br /&gt;
|zh-yue=yue&amp;lt;!-- still used in some old Wikimedia templates and in interwikis --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- other &amp;quot;inherited&amp;quot; tags of the standard, strongly discouraged as they are deleted, but with no defined replacement there are left unaffected (complete list that should not be augmented now)--&amp;gt;&lt;br /&gt;
|cel-gaulish=xtg&amp;lt;!--ambiguous, most often &amp;quot;xtg&amp;quot; for Transalpine Gaulish in today&amp;#039;s France, may also be &amp;quot;xcg&amp;quot; for Cisalpine Gaulish in today&amp;#039;s Northern Italy--&amp;gt;&lt;br /&gt;
|i-enochian=x-enochian?&lt;br /&gt;
|i-mingo=x-mingo?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- other standard &amp;quot;redundant&amp;quot; tags, which were unnecessarily registered (they validate with standard subtags) and that are left unaffected (complete list that should not be augmented now)&lt;br /&gt;
|az-arab&lt;br /&gt;
|az-cyrl&lt;br /&gt;
|az-latn&lt;br /&gt;
|be-latn&lt;br /&gt;
|bs-cyrl&lt;br /&gt;
|bs-latn&lt;br /&gt;
|de-1901&lt;br /&gt;
|de-1996&lt;br /&gt;
|de-at-1901&lt;br /&gt;
|de-at-1996&lt;br /&gt;
|de-ch-1901&lt;br /&gt;
|de-ch-1996&lt;br /&gt;
|de-de-1901&lt;br /&gt;
|de-de-1996&lt;br /&gt;
|en-boont&lt;br /&gt;
|en-scouse&lt;br /&gt;
|iu-cans&lt;br /&gt;
|iu-latn&lt;br /&gt;
|mn-cyrl&lt;br /&gt;
|mn-mong&lt;br /&gt;
|sl-nedis&lt;br /&gt;
|sl-rozaj&lt;br /&gt;
|sr-cyrl&lt;br /&gt;
|sr-latn&lt;br /&gt;
|tg-arab&lt;br /&gt;
|tg-cyrl&lt;br /&gt;
|uz-cyrl&lt;br /&gt;
|uz-latn&lt;br /&gt;
|yi-latn&lt;br /&gt;
|zh-hans&lt;br /&gt;
|zh-hans-cn&lt;br /&gt;
|zh-hans-hk&lt;br /&gt;
|zh-hans-mo&lt;br /&gt;
|zh-hans-sg&lt;br /&gt;
|zh-hans-tw&lt;br /&gt;
|zh-hant&lt;br /&gt;
|zh-hant-cn&lt;br /&gt;
|zh-hant-hk&lt;br /&gt;
|zh-hant-mo&lt;br /&gt;
|zh-hant-sg&lt;br /&gt;
|zh-hant-tw&lt;br /&gt;
  --- standard special codes&lt;br /&gt;
|mul&lt;br /&gt;
|und&lt;br /&gt;
  --- all other unaffected tags:&lt;br /&gt;
  Minimal check of validity (valid BCP47 codes are necessarily stable over URLENCODE and #titleparts).&lt;br /&gt;
  The check ensures that the code contains only ASCII letters, digits or hyphens, and starts by a letter.&lt;br /&gt;
  This check is necessary to avoid a severe bug in MediaWiki, with some values of parameter 1, notably with&lt;br /&gt;
  urlencoded characters (including quotes, braces, ampersands...), slashes, or any HTML or wiki formatting&lt;br /&gt;
  (see also [[Template:CURRENTCONTENTLANGUAGE]]). If successful, force result to lowercase; otherwise&lt;br /&gt;
  return an empty language tag.&lt;br /&gt;
  --&amp;gt;&lt;br /&gt;
|#default =&lt;br /&gt;
  {{#ifeq: {{#titleparts:{{{1|}}}|1}} | {{#titleparts:{{{1|}}}||-1}}&lt;br /&gt;
  | {{#ifeq: {{lc:{{#titleparts:{{{1|}}}|1}}}} | {{ucfirst:{{lc:{{#titleparts:{{{1|}}}|1}}}}}}&lt;br /&gt;
    |&lt;br /&gt;
    | {{#ifeq: {{{1|}}} | {{urlencode:{{{1|}}}}}&lt;br /&gt;
      | {{lc:{{{1|}}}}}&lt;br /&gt;
      }}&lt;br /&gt;
    }}&lt;br /&gt;
  }}&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;{{Documentation}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikimedia&gt;Tacsipacsi</name></author>
	</entry>
</feed>