<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Alist_description</id>
	<title>Module:list description - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Alist_description"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:list_description&amp;action=history"/>
	<updated>2026-04-07T09:53:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:list_description&amp;diff=232528&amp;oldid=prev</id>
		<title>Sware: Created page with &quot;local export = {}  function export.show(frame) 	local title = mw.title.getCurrentTitle() 	local rootpagename = title.rootText 	local isSubpage = title.isSubpage 	local subpage...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:list_description&amp;diff=232528&amp;oldid=prev"/>
		<updated>2021-08-02T23:36:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local export = {}  function export.show(frame) 	local title = mw.title.getCurrentTitle() 	local rootpagename = title.rootText 	local isSubpage = title.isSubpage 	local subpage...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local export = {}&lt;br /&gt;
&lt;br /&gt;
function export.show(frame)&lt;br /&gt;
	local title = mw.title.getCurrentTitle()&lt;br /&gt;
	local rootpagename = title.rootText&lt;br /&gt;
	local isSubpage = title.isSubpage&lt;br /&gt;
	local subpagename = title.subpageText&lt;br /&gt;
	mw.log(rootpagename, isSubpage, subpagename)&lt;br /&gt;
	&lt;br /&gt;
	local lang, canonicalName&lt;br /&gt;
	if isSubpage then&lt;br /&gt;
		lang = require(&amp;quot;Module:languages&amp;quot;).getByCode(subpagename)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local listName, matches&lt;br /&gt;
	if rootpagename then&lt;br /&gt;
		listName, matches = mw.ustring.gsub(rootpagename, &amp;quot;list:&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local description&lt;br /&gt;
	local category = &amp;quot;&amp;quot;&lt;br /&gt;
	if lang then&lt;br /&gt;
		if matches == 1 then&lt;br /&gt;
			description =  &amp;quot;This is a list of &amp;quot; .. listName .. &amp;quot; in the &amp;quot; .. lang:getCanonicalName() .. &amp;quot; language.&amp;quot;&lt;br /&gt;
			if mw.ustring.match(listName, &amp;quot;Latin script&amp;quot;) then&lt;br /&gt;
				category = &amp;quot;[[Category:Latin script templates]]&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			description = &amp;quot;This is a list in the &amp;quot; .. lang:getCanonicalName() .. &amp;quot; language.&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if description then&lt;br /&gt;
		return description .. category&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return export&lt;/div&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
</feed>