<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3ALanguage%2Fdoc</id>
	<title>Module:Language/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3ALanguage%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Language/doc&amp;action=history"/>
	<updated>2026-05-07T05:17:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.stiles.casa/index.php?title=Module:Language/doc&amp;diff=7771&amp;oldid=prev</id>
		<title>imported&gt;Izno: /* Examples */ max width</title>
		<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Language/doc&amp;diff=7771&amp;oldid=prev"/>
		<updated>2021-04-19T13:39:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples: &lt;/span&gt; max width&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|beta}}&lt;br /&gt;
{{Language templates}}&lt;br /&gt;
{{Lua|Module:No globals|Module:Language/data|Module:Unicode data}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Stiles.casa Wiki:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module is used by {{tlx|wikt-lang}} and {{tlx|wt}}. It is inspired by the templates [[wikt:Template:m|{{((}}m{{))}}]] and [[wikt:Template:l|{{((}}l{{))}}]] and their associated modules on Wiktionary. It has a Wiktionary link function that links to the correct section of the Wiktionary entry, and applies correct language formatting and italics. The language-tagging function does most of what {{t|lang}} does, except that italics can&amp;#039;t be customized and categories aren&amp;#039;t added.&lt;br /&gt;
&lt;br /&gt;
The module uses [[Module:Language/data]] to retrieve the language name for a language code, and to perform the necessary entry-name replacements (for instance, removing macrons from Latin entry names). These are unfortunately not automatically retrieved from Wiktionary&amp;#039;s [[wikt:Category:Language data modules|language data modules]]. For language codes that do not have a &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; value in this module, the language name is fetched with &amp;lt;code&amp;gt;mw.language.fetchLanguage&amp;lt;/code&amp;gt;. When &amp;lt;code&amp;gt;mw.language.fetchLanguage&amp;lt;/code&amp;gt; does not fetch the correct language name (or any language name at all), please add it to [[Module:language/data]], and similarly when the correct entry name is not generated, please add the entry name replacements to the module.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 30em;&amp;quot;&amp;gt;&lt;br /&gt;
* {{#invoke:Language|wikt|en|language}}&lt;br /&gt;
* {{#invoke:Language|wikt|en|language|languages}}&lt;br /&gt;
* {{#invoke:Language|wikt|fr|bourguignon}}&lt;br /&gt;
* {{#invoke:Language|wikt|la|homō}}&lt;br /&gt;
* {{#invoke:Language|wikt|grc|δημοκρατίᾱ}}&lt;br /&gt;
* {{#invoke:Language|wikt|ru|язы́к}}&lt;br /&gt;
* {{#invoke:Language|wikt|ar|العَرَبِيَّة}}&lt;br /&gt;
* {{#invoke:Language|wikt|fa|فارسی}}&lt;br /&gt;
* {{#invoke:Language|wikt|ine-x-proto|*h₂enǵʰ-}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
* {{#invoke:Language|wikt|en|language}}&lt;br /&gt;
* {{#invoke:Language|wikt|en|language|languages}}&lt;br /&gt;
* {{#invoke:Language|wikt|fr|bourguignon}}&lt;br /&gt;
* {{#invoke:Language|wikt|la|homō}}&lt;br /&gt;
* {{#invoke:Language|wikt|grc|δημοκρατίᾱ}}&lt;br /&gt;
* {{#invoke:Language|wikt|ru|язы́к}}&lt;br /&gt;
* {{#invoke:Language|wikt|ar|العَرَبِيَّة}}&lt;br /&gt;
* {{#invoke:Language|wikt|fa|فارسی}}&lt;br /&gt;
* {{#invoke:Language|wikt|ine-x-proto|*h₂enǵʰ-}}&lt;br /&gt;
&lt;br /&gt;
====Invalid codes====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 30em;&amp;quot;&amp;gt;&lt;br /&gt;
* {{#invoke:Language|wikt|EN|language}}&lt;br /&gt;
* {{#invoke:Language|wikt|En|language|languages}}&lt;br /&gt;
* {{#invoke:Language|wikt|La|homō}}&lt;br /&gt;
* {{#invoke:Language|wikt|Grc|δημοκρατίᾱ}}&lt;br /&gt;
* {{#invoke:Language|wikt|Ru|язы́к}}&lt;br /&gt;
* {{#invoke:Language|wikt|Ar|العَرَبِيَّة}}&lt;br /&gt;
* {{#invoke:Language|wikt|Fa|فارسی}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
* {{#invoke:Language|wikt|EN|language}}&lt;br /&gt;
* {{#invoke:Language|wikt|En|language|languages}}&lt;br /&gt;
* {{#invoke:Language|wikt|La|homō}}&lt;br /&gt;
* {{#invoke:Language|wikt|Grc|δημοκρατίᾱ}}&lt;br /&gt;
* {{#invoke:Language|wikt|Ru|язы́к}}&lt;br /&gt;
* {{#invoke:Language|wikt|Ar|العَرَبِيَّة}}&lt;br /&gt;
* {{#invoke:Language|wikt|Fa|فارسی}}&lt;br /&gt;
&lt;br /&gt;
====Errors====&lt;br /&gt;
&amp;lt;pre&amp;gt;* {{#invoke:Language|wikt|en-Latin|language}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
* {{#invoke:Language|wikt|en-Latin|language}}&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* {{Category link with count|Language module errors}}&lt;br /&gt;
* {{Category link with count|Language module reconstructed with no asterisk}}&lt;br /&gt;
* {{Category link with count|Language module using redirect code}}&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;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Izno</name></author>
	</entry>
</feed>