<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl">
	<id>https://minewiki.pl/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3ACommand</id>
	<title>Moduł:Command - Historia wersji</title>
	<link rel="self" type="application/atom+xml" href="https://minewiki.pl/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3ACommand"/>
	<link rel="alternate" type="text/html" href="https://minewiki.pl/index.php?title=Modu%C5%82:Command&amp;action=history"/>
	<updated>2026-04-24T14:59:14Z</updated>
	<subtitle>Historia wersji tej strony wiki</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://minewiki.pl/index.php?title=Modu%C5%82:Command&amp;diff=122210&amp;oldid=prev</id>
		<title>Melwin22: niech nie idzie przez przekierowanie</title>
		<link rel="alternate" type="text/html" href="https://minewiki.pl/index.php?title=Modu%C5%82:Command&amp;diff=122210&amp;oldid=prev"/>
		<updated>2025-05-24T18:29:09Z</updated>

		<summary type="html">&lt;p&gt;niech nie idzie przez przekierowanie&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;pl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← poprzednia wersja&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Wersja z 20:29, 24 maj 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l99&quot;&gt;Linia 99:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 99:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	else&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	else&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		commandName = &#039;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Komendy&lt;/del&gt;#&#039; .. commandName .. &#039;|&#039; .. commandName .. &#039;]]&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		commandName = &#039;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Polecenia&lt;/ins&gt;#&#039; .. commandName .. &#039;|&#039; .. commandName .. &#039;]]&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	table.insert( command, 1, commandName )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	table.insert( command, 1, commandName )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Melwin22</name></author>
	</entry>
	<entry>
		<id>https://minewiki.pl/index.php?title=Modu%C5%82:Command&amp;diff=104927&amp;oldid=prev</id>
		<title>Frisk: Poprawiono link do artykułu</title>
		<link rel="alternate" type="text/html" href="https://minewiki.pl/index.php?title=Modu%C5%82:Command&amp;diff=104927&amp;oldid=prev"/>
		<updated>2016-04-26T20:20:17Z</updated>

		<summary type="html">&lt;p&gt;Poprawiono link do artykułu&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;pl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← poprzednia wersja&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Wersja z 22:20, 26 kwi 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l99&quot;&gt;Linia 99:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 99:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	else&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	else&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		commandName = &#039;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Commands&lt;/del&gt;#&#039; .. commandName .. &#039;|&#039; .. commandName .. &#039;]]&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		commandName = &#039;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Komendy&lt;/ins&gt;#&#039; .. commandName .. &#039;|&#039; .. commandName .. &#039;]]&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	table.insert( command, 1, commandName )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	table.insert( command, 1, commandName )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Frisk</name></author>
	</entry>
	<entry>
		<id>https://minewiki.pl/index.php?title=Modu%C5%82:Command&amp;diff=104926&amp;oldid=prev</id>
		<title>ClamsioPL: Utworzono nową stronę &quot;local p = {} function p.cmd( f ) 	local args = f 	if f == mw.getCurrentFrame() then 		args = f:getParent().args 	end 	local syntax = mw.loadData( &#039;Module:Command/Syntax&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://minewiki.pl/index.php?title=Modu%C5%82:Command&amp;diff=104926&amp;oldid=prev"/>
		<updated>2016-04-16T19:08:51Z</updated>

		<summary type="html">&lt;p&gt;Utworzono nową stronę &amp;quot;local p = {} function p.cmd( f ) 	local args = f 	if f == mw.getCurrentFrame() then 		args = f:getParent().args 	end 	local syntax = mw.loadData( &amp;#039;Module:Command/Syntax&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nowa strona&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
function p.cmd( f )&lt;br /&gt;
	local args = f&lt;br /&gt;
	if f == mw.getCurrentFrame() then&lt;br /&gt;
		args = f:getParent().args&lt;br /&gt;
	end&lt;br /&gt;
	local syntax = mw.loadData( &amp;#039;Module:Command/Syntax&amp;#039; )&lt;br /&gt;
	local fullCommand&lt;br /&gt;
	local commandName = args[1]:match( &amp;#039;^%s*/?([^%s]+)&amp;#039; ):lower()&lt;br /&gt;
	local params = {}&lt;br /&gt;
	local command = {}&lt;br /&gt;
	&lt;br /&gt;
	for i, v in ipairs( args ) do&lt;br /&gt;
		if not fullCommand and v == &amp;#039;...&amp;#039; then&lt;br /&gt;
			fullCommand = true&lt;br /&gt;
		elseif i &amp;gt; 1 or v:match( &amp;#039;^%s*/?(.+)&amp;#039; ):lower() ~= commandName then&lt;br /&gt;
			-- Don&amp;#039;t encode if told not to or if there is a sub-command&lt;br /&gt;
			if args.encode ~= &amp;#039;0&amp;#039; and not v:find( &amp;#039;&amp;lt;!%-%- Command %-%-&amp;gt;&amp;#039; ) then&lt;br /&gt;
				v = v:gsub( &amp;#039;&amp;lt;&amp;#039;, &amp;#039;&amp;amp;lt;&amp;#039; )&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			table.insert( params, mw.text.trim( v ) )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if #params == 1 and ( not args[2] or args[2] == &amp;#039;...&amp;#039; ) and params[1]:find( &amp;#039;%s&amp;#039; ) then&lt;br /&gt;
		local startPos, endPos = params[1]:find( &amp;#039;{.+}&amp;#039; )&lt;br /&gt;
		if not startPos then&lt;br /&gt;
			startPos, endPos = params[1]:find( &amp;#039;&amp;lt;!%-%- Command %-%-&amp;gt;.+&amp;lt;!%-%- /Command %-%-&amp;gt;&amp;#039; )&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		if startPos then&lt;br /&gt;
			params[1] = params[1]:sub( 1, startPos ) ..&lt;br /&gt;
				params[1]:sub( startPos + 1, endPos - 1 ):gsub( &amp;#039;%s&amp;#039;, &amp;#039;&amp;amp;#32;&amp;#039; ) ..&lt;br /&gt;
				params[1]:sub( endPos )&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		params = mw.text.split( params[1]:match( &amp;#039;^[^%s]+%s(.+)&amp;#039; ), &amp;#039;%s+&amp;#039; )&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if ( fullCommand or params[1] ) and syntax[commandName] then&lt;br /&gt;
		local param = 0&lt;br /&gt;
		function parseParams( defaultParams, sub )&lt;br /&gt;
			local section = {}&lt;br /&gt;
			local hasValue&lt;br /&gt;
			for i, v in ipairs( defaultParams ) do&lt;br /&gt;
				if type( v ) == &amp;#039;table&amp;#039; then&lt;br /&gt;
					local subSection, subHasValue = parseParams( v, true )&lt;br /&gt;
					if subHasValue then&lt;br /&gt;
						hasValue = true&lt;br /&gt;
					end&lt;br /&gt;
					table.insert( section, subSection )&lt;br /&gt;
				else&lt;br /&gt;
					param = param + 1&lt;br /&gt;
					if params[param] then&lt;br /&gt;
						hasValue = true&lt;br /&gt;
						if params[param] ~= &amp;#039;&amp;#039; and params[param] ~= &amp;#039;?&amp;#039; then&lt;br /&gt;
							table.insert( section, params[param] )&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
					if not section[i] and ( fullCommand or params[param] == &amp;#039;?&amp;#039; ) then&lt;br /&gt;
						table.insert( section, v )&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			section = table.concat( section, &amp;#039; &amp;#039; )&lt;br /&gt;
			&lt;br /&gt;
			if sub then&lt;br /&gt;
				if not hasValue then&lt;br /&gt;
					if fullCommand then&lt;br /&gt;
						section = &amp;#039;(&amp;#039; .. section .. &amp;#039;)&amp;#039;&lt;br /&gt;
					else&lt;br /&gt;
						section = nil&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
				&lt;br /&gt;
				return section, hasValue&lt;br /&gt;
			else&lt;br /&gt;
				return section&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		command = { parseParams( syntax[syntax[commandName]] or syntax[commandName] ) }&lt;br /&gt;
		&lt;br /&gt;
		-- Add any extra parameters not defined in the syntax&lt;br /&gt;
		if #params &amp;gt; param then&lt;br /&gt;
			for i, v in ipairs( params ) do&lt;br /&gt;
				if i &amp;gt; param then&lt;br /&gt;
					table.insert( command, v )&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		command = params&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if args.link then&lt;br /&gt;
		if args.link:lower() ~= &amp;#039;none&amp;#039; then&lt;br /&gt;
			commandName = &amp;#039;[[&amp;#039; .. args.link .. &amp;#039;|&amp;#039; .. commandName .. &amp;#039;]]&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		commandName = &amp;#039;[[Commands#&amp;#039; .. commandName .. &amp;#039;|&amp;#039; .. commandName .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	table.insert( command, 1, commandName )&lt;br /&gt;
	&lt;br /&gt;
	local slash = &amp;#039;/&amp;#039;&lt;br /&gt;
	if args[&amp;#039;/&amp;#039;] == &amp;#039;0&amp;#039; or args.slash == &amp;#039;0&amp;#039; then&lt;br /&gt;
		slash = &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local attr&lt;br /&gt;
	if args.long == &amp;#039;1&amp;#039; then&lt;br /&gt;
		attr = &amp;#039;style=&amp;quot;display:block;padding:0.8em 1em;margin-bottom:0.4em;word-wrap:break-word&amp;quot;&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		attr = &amp;#039;class=&amp;quot;nowrap&amp;quot;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return &amp;#039;&amp;lt;!-- Command --&amp;gt;&amp;lt;code &amp;#039; .. attr .. &amp;#039;&amp;gt;&amp;#039; .. slash .. table.concat( command, &amp;#039; &amp;#039; ):gsub( &amp;#039;&amp;amp;#32;&amp;#039;, &amp;#039; &amp;#039; ) .. &amp;#039;&amp;lt;/code&amp;gt;&amp;lt;!-- /Command --&amp;gt;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>ClamsioPL</name></author>
	</entry>
</feed>