<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikibase.echoimages.labs.wikimedia.pt/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AConcatArgs</id>
	<title>Module:ConcatArgs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikibase.echoimages.labs.wikimedia.pt/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AConcatArgs"/>
	<link rel="alternate" type="text/html" href="https://wikibase.echoimages.labs.wikimedia.pt/w/index.php?title=Module:ConcatArgs&amp;action=history"/>
	<updated>2026-06-10T00:40:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.5</generator>
	<entry>
		<id>https://wikibase.echoimages.labs.wikimedia.pt/w/index.php?title=Module:ConcatArgs&amp;diff=2638&amp;oldid=prev</id>
		<title>Epìdosis: 1 revision imported: Import templates and modules from Wikidata</title>
		<link rel="alternate" type="text/html" href="https://wikibase.echoimages.labs.wikimedia.pt/w/index.php?title=Module:ConcatArgs&amp;diff=2638&amp;oldid=prev"/>
		<updated>2026-06-03T17:15:01Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Import templates and modules from Wikidata&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 17:15, 3 June 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 my_wiki:diff:1.41:old-2637:rev-2638 --&gt;
&lt;/table&gt;</summary>
		<author><name>Epìdosis</name></author>
	</entry>
	<entry>
		<id>https://wikibase.echoimages.labs.wikimedia.pt/w/index.php?title=Module:ConcatArgs&amp;diff=2637&amp;oldid=prev</id>
		<title>d&gt;TomT0m: bugfix (tria)</title>
		<link rel="alternate" type="text/html" href="https://wikibase.echoimages.labs.wikimedia.pt/w/index.php?title=Module:ConcatArgs&amp;diff=2637&amp;oldid=prev"/>
		<updated>2017-01-25T21:03:58Z</updated>

		<summary type="html">&lt;p&gt;bugfix (tria)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function table.slice(tbl, first, last, step)&lt;br /&gt;
  local sliced = {}&lt;br /&gt;
  &lt;br /&gt;
  for i = first or 1, last or #tbl, step or 1 do&lt;br /&gt;
    sliced[#sliced+1] = tbl[i]&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  return sliced&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.slice = table.slice&lt;br /&gt;
&lt;br /&gt;
local function count_args(table)&lt;br /&gt;
	local nargs = 0&lt;br /&gt;
	for num, _ in ipairs(table) do&lt;br /&gt;
		nargs = math.max(num, nargs)&lt;br /&gt;
	end&lt;br /&gt;
	return nargs&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p.ConcatArgs(frame)&lt;br /&gt;
	local pargs = frame:getParent().args&lt;br /&gt;
	local init = tonumber(frame.args[&amp;quot;init&amp;quot;]) or frame.args[&amp;quot;init&amp;quot;]&lt;br /&gt;
	&lt;br /&gt;
	local slice = table.slice(&lt;br /&gt;
		pargs,&lt;br /&gt;
		tostring(frame.args[&amp;quot;min&amp;quot;]),&lt;br /&gt;
		count_args(pargs)&lt;br /&gt;
	)&lt;br /&gt;
	table.insert(slice, 1, pargs[init])&lt;br /&gt;
	return table.concat(slice, &amp;quot;|&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>d&gt;TomT0m</name></author>
	</entry>
</feed>