<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki3d.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikt-lang%2Fdoc</id>
	<title>Module:Wikt-lang/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki3d.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikt-lang%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://mediawiki3d.org/index.php?title=Module:Wikt-lang/doc&amp;action=history"/>
	<updated>2026-04-26T19:00:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://mediawiki3d.org/index.php?title=Module:Wikt-lang/doc&amp;diff=1772&amp;oldid=prev</id>
		<title>Bawolff: 1 revision imported from :wikipedia:en:Module:Wikt-lang/doc</title>
		<link rel="alternate" type="text/html" href="https://mediawiki3d.org/index.php?title=Module:Wikt-lang/doc&amp;diff=1772&amp;oldid=prev"/>
		<updated>2025-08-16T02:22:35Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported from &lt;a href=&quot;https://en.wikipedia.org/wiki/en:Module:Wikt-lang/doc&quot; class=&quot;extiw&quot; title=&quot;wikipedia:en:Module:Wikt-lang/doc&quot;&gt;wikipedia:en:Module:Wikt-lang/doc&lt;/a&gt;&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 02:22, 16 August 2025&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>Bawolff</name></author>
	</entry>
	<entry>
		<id>https://mediawiki3d.org/index.php?title=Module:Wikt-lang/doc&amp;diff=1771&amp;oldid=prev</id>
		<title>wikipedia:en&gt;Gonnym at 14:42, 1 December 2024</title>
		<link rel="alternate" type="text/html" href="https://mediawiki3d.org/index.php?title=Module:Wikt-lang/doc&amp;diff=1771&amp;oldid=prev"/>
		<updated>2024-12-01T14:42:48Z</updated>

		<summary type="html">&lt;p&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:Wikt-lang/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 [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module is used by {{tlx|Wikt-lang}}. 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:Wikt-lang/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|Wikt-lang 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:Wikt-lang/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;
* {{mlx|Wikt-lang|wiktlang|en|language}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|en|language}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|en|language|languages}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|en|language|languages}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|fr|bourguignon}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|fr|bourguignon}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|la|homō}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|la|homō}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|grc|δημοκρατίᾱ}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|grc|δημοκρατίᾱ}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|ru|язы́к}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|ru|язы́к}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|ar|العَرَبِيَّة}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|ar|العَرَبِيَّة}} &lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|fa|فارسی}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|fa|فارسی}} &lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|ine-x-proto|*h₂enǵʰ-}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|ine-x-proto|*h₂enǵʰ-}}&lt;br /&gt;
&lt;br /&gt;
====Invalid codes====&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|EN|language}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|EN|language}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|En|language|languages}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|En|language|languages}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|La|homō}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|La|homō}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|Grc|δημοκρατίᾱ}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|Grc|δημοκρατίᾱ}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|Ru|язы́к}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|Ru|язы́к}}&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|Ar|العَرَبِيَّة}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|Ar|العَرَبِيَّة}} &lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|Fa|فارسی}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|Fa|فارسی}} &lt;br /&gt;
&lt;br /&gt;
====Errors====&lt;br /&gt;
* {{mlx|Wikt-lang|wiktlang|en-Latin|language}} -&amp;gt; {{#invoke:Wikt-lang|wiktlang|en-Latin|language}}&lt;br /&gt;
&lt;br /&gt;
== Comparison of codes ==&lt;br /&gt;
{{#invoke:Wikt-lang/comparison|main}}&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* [[Template:Tracking/wikt-lang/reconstructed with no asterisk]]&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;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia:en&gt;Gonnym</name></author>
	</entry>
</feed>