
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://zoophilia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ALang%2Fdoc</id>
	<title>Module:Lang/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://zoophilia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ALang%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Module:Lang/doc&amp;action=history"/>
	<updated>2026-05-02T11:21:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://zoophilia.wiki/index.php?title=Module:Lang/doc&amp;diff=17840&amp;oldid=prev</id>
		<title>DogMike: Created page with &quot;{{Language templates}} {{High-use}} {{Lua|Module:Arguments|Module:No globals|Module:Lang/data|Module:Lang/ISO 639 synonyms|Module:Language/name/data|Module:Lang/name to tag|Mo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Module:Lang/doc&amp;diff=17840&amp;oldid=prev"/>
		<updated>2020-09-01T20:47:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language templates}} {{High-use}} {{Lua|Module:Arguments|Module:No globals|Module:Lang/data|Module:Lang/ISO 639 synonyms|Module:Language/name/data|Module:Lang/name to tag|Mo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language templates}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Lua|Module:Arguments|Module:No globals|Module:Lang/data|Module:Lang/ISO 639 synonyms|Module:Language/name/data|Module:Lang/name to tag|Module:Unicode data|Module:Yesno}}&lt;br /&gt;
&lt;br /&gt;
This module exists primarily to provide correct html markup for non-English language text where that text is used in the English Wikipedia. It has a secondary purpose of providing correct visual rendering for this non-English text. The module was developed to consolidate processing for {{tlx|Lang}}, the {{cl|Lang-x_templates|{{tld|lang-??}}}} (most), and {{tlx|Transl}} templates into a single source and to use a clearly defined data set extracted from international standards. It provides error checking and reporting to ensure that the html rendered is correct for browsers and screen readers.&lt;br /&gt;
&lt;br /&gt;
Other templates that get language name support from this module are:&lt;br /&gt;
* {{tlx|Native name}}&lt;br /&gt;
&lt;br /&gt;
==Data set==&lt;br /&gt;
The data set is specified in [[Module:Language/name/data]] and its included data modules:&lt;br /&gt;
* language tag-and-name data&lt;br /&gt;
** [[Module:Language/data/iana languages]] – from IANA [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry language-subtag-registry file]&lt;br /&gt;
** [[Module:Language/data/ISO 639-3]] – from [http://www-01.sil.org/iso639-3/download.asp sil.org UTF-8 Complete Code Tables Set]&lt;br /&gt;
** [[Module:Language/data/wp languages]] – sourcing for the data in this module is unknown&lt;br /&gt;
* language script data&lt;br /&gt;
** [[Module:Language/data/iana scripts]] – from IANA language-subtag-registry file&lt;br /&gt;
* language region data&lt;br /&gt;
** [[Module:Language/data/iana regions]] – from IANA language-subtag-registry file&lt;br /&gt;
* language variant data&lt;br /&gt;
** [[Module:Language/data/iana variants]] – from IANA language-subtag-registry file&lt;br /&gt;
* suppressed-script data&lt;br /&gt;
** [[Module:Language/data/iana suppressed scripts]] – from IANA language-subtag-registry file&lt;br /&gt;
&lt;br /&gt;
The data set also includes supplementary data modules:&lt;br /&gt;
* override and other non-standard data&lt;br /&gt;
** [[Module:Lang/data]] – For example, when IANA disagrees with ISO 639-3 or when the standard language name is cumbersome or contains information not suitable for use in article space, the &amp;lt;code&amp;gt;override&amp;lt;/code&amp;gt; table can hold that language information&lt;br /&gt;
** [[Module:Lang/ISO 639 synonyms]] – maps three character ISO 639-2, -2T, -3 codes to two character ISO 639-1 codes – from [https://www.loc.gov/standards/iso639-2/php/English_list.php Codes for the Representation of Names of Languages]&lt;br /&gt;
** [[Module:Lang/name to tag]] – reversed language tag-and-name data so that the language name is the key and the language tag is the value&lt;br /&gt;
&lt;br /&gt;
==Error messages and categorization==&lt;br /&gt;
Mainspace articles that have errors are placed in appropriate error categories:&lt;br /&gt;
* {{Category link with count|lang and lang-xx template errors}}&lt;br /&gt;
* {{Category link with count|transl template errors}}&lt;br /&gt;
&lt;br /&gt;
Maintenance categories:&lt;br /&gt;
* {{Category link with count|Lang and lang-xx code promoted to ISO 639-1}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
MoS on foreign words:&lt;br /&gt;
* {{Section link|Wikipedia:Manual of Style/Text formatting#Foreign terms}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Language-related modules]]&lt;br /&gt;
[[Category:Modules that check for strip markers]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>DogMike</name></author>
	</entry>
</feed>