<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Modul:DemoTemplate - Oʻzgarishlar tarixi</title>
		<link>https://ziyosfera.uz/index.php?title=Modul:DemoTemplate&amp;action=history</link>
		<description>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</description>
		<language>uz</language>
		<generator>MediaWiki 1.45.1</generator>
		<lastBuildDate>Tue, 17 Nov 2026 22:14:46 GMT</lastBuildDate>
		<item>
			<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
			<link>https://ziyosfera.uz/index.php?title=Modul:DemoTemplate&amp;diff=99190&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Modul:DemoTemplate&amp;diff=99190&amp;oldid=prev</guid>
			<description>&lt;p&gt;Oʻzbekcha Vikipediyadan import qilindi.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yangi sahifa&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;#039;strict&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local newBuffer = require(&amp;#039;Module:OutputBuffer&amp;#039;)&lt;br /&gt;
local mt = {}&lt;br /&gt;
&lt;br /&gt;
function mt.__index(t, title)&lt;br /&gt;
	return function(frame)&lt;br /&gt;
		local getBuffer, print, printf = newBuffer()&lt;br /&gt;
		printf(&amp;#039;{{%s&amp;#039;, title)&lt;br /&gt;
		local ipairsArgs = {}&lt;br /&gt;
		for k,v in ipairs(frame.args) do&lt;br /&gt;
			if string.find(v, &amp;#039;=&amp;#039;, 1, true) then&lt;br /&gt;
				break&lt;br /&gt;
			end&lt;br /&gt;
			ipairsArgs[k] = true&lt;br /&gt;
			printf(&amp;#039;|%s&amp;#039;, v)&lt;br /&gt;
		end&lt;br /&gt;
		for k,v in pairs(frame.args) do&lt;br /&gt;
			if not ipairsArgs[k] then&lt;br /&gt;
				printf(&amp;#039;|%s=%s&amp;#039;, string.gsub(k, &amp;#039;=&amp;#039;, &amp;#039;{{=}}&amp;#039;), v)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		print(&amp;#039;}}&amp;#039;)&lt;br /&gt;
		local buffer = getBuffer()&lt;br /&gt;
		-- rather than calling expandTemplate with the title and args we have, call preprocess, so that our code example will always match our output, even in the cases of pipes or other things we should have escaped but didn&amp;#039;t&lt;br /&gt;
		return string.format(&amp;#039;&amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; &amp;amp;rarr; %s&amp;#039;, mw.text.nowiki(buffer), frame:preprocess(buffer))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return setmetatable({}, mt)&lt;/div&gt;</description>
			<pubDate>Thu, 06 Aug 2026 12:00:24 GMT</pubDate>
			<dc:creator>Programmer</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Modul_munozarasi:DemoTemplate</comments>
		</item>
</channel></rss>