<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AListToText</id>
	<title>Module:ListToText - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AListToText"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Module:ListToText&amp;action=history"/>
	<updated>2026-04-19T04:23:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Module:ListToText&amp;diff=2780&amp;oldid=prev</id>
		<title>Majestix: 1 revision imported: Initial Setup</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Module:ListToText&amp;diff=2780&amp;oldid=prev"/>
		<updated>2026-04-12T07:54:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Initial Setup&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:54, 12 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key wikiNonStop:diff:1.41:old-2779:rev-2780 --&gt;
&lt;/table&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Module:ListToText&amp;diff=2779&amp;oldid=prev</id>
		<title>en&gt;HyperNervie: HyperNervie moved page Module:InlineList to Module:ListToText</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Module:ListToText&amp;diff=2779&amp;oldid=prev"/>
		<updated>2025-11-24T12:47:18Z</updated>

		<summary type="html">&lt;p&gt;HyperNervie moved page &lt;a href=&quot;/w/index.php?title=Module:InlineList&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Module:InlineList (page does not exist)&quot;&gt;Module:InlineList&lt;/a&gt; to &lt;a href=&quot;/wiki/Module:ListToText&quot; title=&quot;Module:ListToText&quot;&gt;Module:ListToText&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local yesno = require( &amp;quot;Module:Yesno&amp;quot; )&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local function replace( str, pattern, repl )&lt;br /&gt;
	while true do&lt;br /&gt;
		local s, e = mw.ustring.find( str, pattern, 1, true )&lt;br /&gt;
		if s == nil then break end&lt;br /&gt;
		str = mw.ustring.sub( str, 1, s - 1 ) .. repl .. mw.ustring.sub( str, e + 1, -1 )&lt;br /&gt;
	end&lt;br /&gt;
	return str&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local function int( msg )&lt;br /&gt;
	return mw.getCurrentFrame():expandTemplate{ title = &amp;quot;int&amp;quot;, args = { msg } }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p.call( args )&lt;br /&gt;
	if type( args.fmt ) == &amp;quot;string&amp;quot; then&lt;br /&gt;
		for i, v in ipairs( args ) do&lt;br /&gt;
			local formatted = replace( args.fmt, &amp;quot;$1&amp;quot;, args[i] )&lt;br /&gt;
			args[i] = mw.getCurrentFrame():preprocess( formatted )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	args.sep = args.sep or int( &amp;quot;comma-separator&amp;quot; )&lt;br /&gt;
	if yesno( args.noconj ) then&lt;br /&gt;
		args.conj = args.sep&lt;br /&gt;
	else&lt;br /&gt;
		args.conj = args.conj or ( int( &amp;quot;and&amp;quot; ) .. int( &amp;quot;word-separator&amp;quot; ) )&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return mw.text.listToText( args, args.sep, args.conj )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p.main( frame )&lt;br /&gt;
	local args = {}&lt;br /&gt;
	for k, v in pairs( frame:getParent().args ) do&lt;br /&gt;
		args[ k ] = v&lt;br /&gt;
	end&lt;br /&gt;
	for k, v in pairs( frame.args ) do&lt;br /&gt;
		args[ k ] = v&lt;br /&gt;
	end&lt;br /&gt;
	return p.call( args )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;HyperNervie</name></author>
	</entry>
</feed>