<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Modul:WikidataChart - Oʻzgarishlar tarixi</title>
		<link>https://ziyosfera.uz/index.php?title=Modul:WikidataChart&amp;action=history</link>
		<description>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</description>
		<language>uz</language>
		<generator>MediaWiki 1.45.1</generator>
		<lastBuildDate>Wed, 18 Nov 2026 12:46:04 GMT</lastBuildDate>
		<item>
			<title>Programmer: Tuzatildi: boʻsh parametr va nil entity tekshiruvlari qoʻshildi</title>
			<link>https://ziyosfera.uz/index.php?title=Modul:WikidataChart&amp;diff=1554515&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Modul:WikidataChart&amp;diff=1554515&amp;oldid=prev</guid>
			<description>&lt;p&gt;Tuzatildi: boʻsh parametr va nil entity tekshiruvlari qoʻshildi&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;uz&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Avvalgi koʻrinishi&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026-yil 27-oktyabr, 17:35 dagi koʻrinishi&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-l23&quot;&gt;Qator 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Qator 23:&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;br&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;br&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;function p.plot(frame)&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;function p.plot(frame)&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;	local property = frame.args[1] or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;error(&lt;/del&gt;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikidata &lt;/del&gt;property &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to chart required&lt;/del&gt;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/del&gt;&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;	local property = frame.args[1] or &quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/ins&gt;&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;	local xQualifier = frame.args[2] or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;error(&lt;/del&gt;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikidata qualifier for x axis required&lt;/del&gt;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/del&gt;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	if &lt;/ins&gt;property &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== &lt;/ins&gt;&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; then return &quot;&quot; end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;	local xQualifier = frame.args[2] or &quot;&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	if xQualifier == &quot;&quot; then return &quot;&quot; end&lt;/ins&gt;&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;	local yIds = mw.text.split(frame.args[&amp;quot;pageIds&amp;quot;] or &amp;quot;&amp;quot;, &amp;quot;,&amp;quot;, true)&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;	local yIds = mw.text.split(frame.args[&amp;quot;pageIds&amp;quot;] or &amp;quot;&amp;quot;, &amp;quot;,&amp;quot;, true)&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;	local xStart = frame.args[&amp;quot;xStart&amp;quot;]&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;	local xStart = frame.args[&amp;quot;xStart&amp;quot;]&lt;/div&gt;&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-l37&quot;&gt;Qator 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Qator 39:&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;		local entity = mw.wikibase.getEntity(id)&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;		local entity = mw.wikibase.getEntity(id)&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;		&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;		&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		if not entity then return &quot;&quot; end&lt;/ins&gt;&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;		local labels = entity.labels or {}&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;		local labels = entity.labels or {}&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;		series.captions[seriesIdx] = (labels.en or labels.de or {}).value or id&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;		series.captions[seriesIdx] = (labels.en or labels.de or {}).value or id&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ziyoold-mediawiki-:diff:1.41:old-899308:rev-1554515:php=table --&gt;
&lt;/table&gt;</description>
			<pubDate>Tue, 27 Oct 2026 12:35:09 GMT</pubDate>
			<dc:creator>Programmer</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Modul_munozarasi:WikidataChart</comments>
		</item>
		<item>
			<title>Ziyosfera: mw.wikibase stub: Ziyosferada Wikibase klienti yoʻq (Lua xatosini oldini olish)</title>
			<link>https://ziyosfera.uz/index.php?title=Modul:WikidataChart&amp;diff=899308&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Modul:WikidataChart&amp;diff=899308&amp;oldid=prev</guid>
			<description>&lt;p&gt;mw.wikibase stub: Ziyosferada Wikibase klienti yoʻq (Lua xatosini oldini olish)&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;uz&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Avvalgi koʻrinishi&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026-yil 18-avgust, 14:46 dagi koʻrinishi&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-l1&quot;&gt;Qator 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Qator 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- [zs-wikibase-guard] Ziyosfera has no Wikibase client; stub mw.wikibase so&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- modules reading Wikidata degrade to nil instead of erroring. Auto-added on import.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if not mw.wikibase then mw.wikibase = setmetatable({}, { __index = function() return function() return nil end end }) end&lt;/ins&gt;&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;local defaultFormat = {&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;local defaultFormat = {&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;	[0] = &amp;quot;Y&amp;quot;,				-- precision: billion years&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;	[0] = &amp;quot;Y&amp;quot;,				-- precision: billion years&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ziyoold-mediawiki-:diff:1.41:old-110912:rev-899308:php=table --&gt;
&lt;/table&gt;</description>
			<pubDate>Tue, 18 Aug 2026 09:46:27 GMT</pubDate>
			<dc:creator>Ziyosfera</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Modul_munozarasi:WikidataChart</comments>
		</item>
		<item>
			<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
			<link>https://ziyosfera.uz/index.php?title=Modul:WikidataChart&amp;diff=110912&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Modul:WikidataChart&amp;diff=110912&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;local defaultFormat = {&lt;br /&gt;
	[0] = &amp;quot;Y&amp;quot;,				-- precision: billion years&lt;br /&gt;
	[1] = &amp;quot;Y&amp;quot;,				-- precision: hundred million years&lt;br /&gt;
	[2] = &amp;quot;Y&amp;quot;,				-- precision: ten million years&lt;br /&gt;
	[3] = &amp;quot;Y&amp;quot;,				-- precision: million years&lt;br /&gt;
	[4] = &amp;quot;Y&amp;quot;,				-- precision: hundred thousand years&lt;br /&gt;
	[5] = &amp;quot;Y&amp;quot;,				-- precision: ten thousand years&lt;br /&gt;
	[6] = &amp;quot;Y&amp;quot;,				-- precision: millennium&lt;br /&gt;
	[7] = &amp;quot;Y&amp;quot;,				-- precision: century&lt;br /&gt;
	[8] = &amp;quot;Y&amp;quot;,				-- precision: decade&lt;br /&gt;
	[9]  = &amp;quot;Y&amp;quot;,				-- precision: year&lt;br /&gt;
	[10] = &amp;quot;M Y&amp;quot;,			-- precision: month&lt;br /&gt;
	[11] = &amp;quot;j F Y&amp;quot;,			-- precision: day&lt;br /&gt;
	[12] = &amp;quot;j F Y ga&amp;quot;,		-- precision: hour&lt;br /&gt;
	[13] = &amp;quot;j F Y g:ia&amp;quot;,	-- precision: minute&lt;br /&gt;
	[14] = &amp;quot;j F Y g:i:sa&amp;quot;	-- precision: second&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.plot(frame)&lt;br /&gt;
	local property = frame.args[1] or error(&amp;quot;Wikidata property to chart required&amp;quot;)&lt;br /&gt;
	local xQualifier = frame.args[2] or error(&amp;quot;Wikidata qualifier for x axis required&amp;quot;)&lt;br /&gt;
	local yIds = mw.text.split(frame.args[&amp;quot;pageIds&amp;quot;] or &amp;quot;&amp;quot;, &amp;quot;,&amp;quot;, true)&lt;br /&gt;
	local xStart = frame.args[&amp;quot;xStart&amp;quot;]&lt;br /&gt;
	local xEnd = frame.args[&amp;quot;xEnd&amp;quot;]&lt;br /&gt;
	local precision = tonumber(frame.args[&amp;quot;precision&amp;quot;])&lt;br /&gt;
	local xAxisFormat = defaultFormat[precision or 9]	&lt;br /&gt;
	&lt;br /&gt;
	-- Collect data&lt;br /&gt;
	local series = { captions = {}, points = {} }&lt;br /&gt;
	for seriesIdx, id in ipairs(yIds) do&lt;br /&gt;
		if id == &amp;quot;&amp;quot; then id = nil end&lt;br /&gt;
		local entity = mw.wikibase.getEntity(id)&lt;br /&gt;
		&lt;br /&gt;
		local labels = entity.labels or {}&lt;br /&gt;
		series.captions[seriesIdx] = (labels.en or labels.de or {}).value or id&lt;br /&gt;
&lt;br /&gt;
		local property = entity.claims[property]&lt;br /&gt;
		for _, item in ipairs(property) do&lt;br /&gt;
			if item.qualifiers and item.qualifiers[xQualifier] and item.qualifiers[xQualifier][1] then&lt;br /&gt;
				local qualifier = item.qualifiers[xQualifier][1]&lt;br /&gt;
				if qualifier.snaktype ~= &amp;quot;value&amp;quot; or qualifier.datatype ~= &amp;quot;time&amp;quot; then&lt;br /&gt;
					error(&amp;quot;&amp;#039;xQualifier&amp;#039; parameter must be a time&amp;quot;)&lt;br /&gt;
				end&lt;br /&gt;
				local x = applyPrecision(mw.text.trim(qualifier.datavalue.value.time, &amp;quot;+&amp;quot;), precision)&lt;br /&gt;
				&lt;br /&gt;
				if (not xStart or x &amp;gt;= xStart) and (not xEnd or string.sub(x, 1, #xEnd) &amp;lt;= xEnd) and qualifier.datavalue.value.precision &amp;gt;= (precision or 0) then&lt;br /&gt;
					local mainsnak = item.mainsnak&lt;br /&gt;
					if mainsnak.snaktype ~= &amp;quot;value&amp;quot; or mainsnak.datatype ~= &amp;quot;quantity&amp;quot; then&lt;br /&gt;
						error(&amp;quot;&amp;#039;property&amp;#039; parameter must be numeric&amp;quot;)&lt;br /&gt;
					end&lt;br /&gt;
					local y = tonumber(mainsnak.datavalue.value.amount)&lt;br /&gt;
	&lt;br /&gt;
					if not series.points[x] then series.points[x] = {} end&lt;br /&gt;
					series.points[x][seriesIdx] = y&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Sort x values&lt;br /&gt;
	local xValues = {}&lt;br /&gt;
	for k in pairs(series.points) do table.insert(xValues, k) end&lt;br /&gt;
	table.sort(xValues)&lt;br /&gt;
&lt;br /&gt;
    -- default values, can be overwritten&lt;br /&gt;
	local chartArgs =&lt;br /&gt;
	{&lt;br /&gt;
		type = &amp;quot;line&amp;quot;,&lt;br /&gt;
		xType = &amp;quot;date&amp;quot;,&lt;br /&gt;
		x = table.concat(xValues, &amp;quot;,&amp;quot;),&lt;br /&gt;
		yType = &amp;quot;number&amp;quot;,&lt;br /&gt;
		&lt;br /&gt;
		-- these are not supported anymore with new chart extension as of now..&lt;br /&gt;
--		xAxisTitle = mw.wikibase.label(xQualifier),		&lt;br /&gt;
--		yAxisTitle = mw.wikibase.label(property)&lt;br /&gt;
	}&lt;br /&gt;
	-- Set legends / series titles&lt;br /&gt;
	for seriesIdx, caption in ipairs(series.captions) do&lt;br /&gt;
		chartArgs[&amp;quot;y&amp;quot; .. seriesIdx] = &amp;quot;&amp;quot;&lt;br /&gt;
		chartArgs[&amp;quot;y&amp;quot; .. seriesIdx .. &amp;quot;Title&amp;quot;] = caption&lt;br /&gt;
	end&lt;br /&gt;
	-- Set values&lt;br /&gt;
	local seriesCount = #series.captions&lt;br /&gt;
	for _, x in ipairs(xValues) do&lt;br /&gt;
		yValues = series.points[x]&lt;br /&gt;
		for seriesIdx = 1, seriesCount do&lt;br /&gt;
			chartArgs[&amp;quot;y&amp;quot; .. seriesIdx] = chartArgs[&amp;quot;y&amp;quot; .. seriesIdx] .. &amp;quot;,&amp;quot; .. (yValues[seriesIdx] or &amp;quot;&amp;quot;)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Remove separators at the beginning&lt;br /&gt;
	for seriesIdx, _ in ipairs(series.captions) do&lt;br /&gt;
		chartArgs[&amp;quot;y&amp;quot; .. seriesIdx] = mw.ustring.sub(chartArgs[&amp;quot;y&amp;quot; .. seriesIdx], 2)&lt;br /&gt;
	end&lt;br /&gt;
	-- Transfer diagram parameters (all parameters that start with chart_ are transferred directly to the Graph module without a prefix)&lt;br /&gt;
	for k, v in pairs(frame.args) do&lt;br /&gt;
		local chartParam = string.match(k, &amp;quot;^chart_(.+)&amp;quot;)&lt;br /&gt;
		if chartParam then chartArgs[chartParam] = v end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
 	&lt;br /&gt;
	--workaround, to better show dates since the extension doesn&amp;#039;t support them yet properly&lt;br /&gt;
	if chartArgs[&amp;quot;xType&amp;quot;]==&amp;quot;date&amp;quot; then&lt;br /&gt;
		xValuesCutted = {}&lt;br /&gt;
		for _, k in pairs(xValues) do&lt;br /&gt;
			table.insert(xValuesCutted,string.sub( k, 1, 10))&lt;br /&gt;
		end&lt;br /&gt;
		chartArgs[&amp;quot;x&amp;quot;] = table.concat(xValuesCutted, &amp;quot;,&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
	-- if number, use precision to round (default 9=years)&lt;br /&gt;
	if chartArgs[&amp;quot;xType&amp;quot;]==&amp;quot;number&amp;quot; then&lt;br /&gt;
		xValuesCutted = {}&lt;br /&gt;
		for _, k in pairs(xValues) do&lt;br /&gt;
			table.insert(xValuesCutted,mw.getContentLanguage():formatDate(xAxisFormat, k))&lt;br /&gt;
		end&lt;br /&gt;
		chartArgs[&amp;quot;x&amp;quot;] = table.concat(xValuesCutted, &amp;quot;,&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- create the plot&lt;br /&gt;
	local resultplot&lt;br /&gt;
	resultplot = mw.getCurrentFrame():expandTemplate {&lt;br /&gt;
		title = &amp;#039;Template:ChartDirect&amp;#039;,&lt;br /&gt;
		args = chartArgs&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
	return resultplot&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.plotWrapper(frame)&lt;br /&gt;
	return p.plot(frame:getParent())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function applyPrecision(date, precision)&lt;br /&gt;
	if not precision then precision = math.huge end&lt;br /&gt;
&lt;br /&gt;
	local _, _, year, month, day, hour, minute, second, timezone = string.find(date, &amp;quot;^(.?%d+)-(%d+)-(%d+)T(%d+):(%d+):(%d+)(.+)$&amp;quot;)&lt;br /&gt;
	if precision &amp;lt; 14 then second = &amp;quot;00&amp;quot; end&lt;br /&gt;
	if precision &amp;lt; 13 then minute = &amp;quot;00&amp;quot; end&lt;br /&gt;
	if precision &amp;lt; 12 then hour = &amp;quot;00&amp;quot; end&lt;br /&gt;
	if precision &amp;lt; 11 or day == &amp;quot;00&amp;quot; then day = &amp;quot;01&amp;quot; end&lt;br /&gt;
	if precision &amp;lt; 10 or month == &amp;quot;00&amp;quot; then month = &amp;quot;01&amp;quot; end&lt;br /&gt;
	return year .. &amp;quot;-&amp;quot; .. month .. &amp;quot;-&amp;quot; .. day .. &amp;quot;T&amp;quot; .. hour .. &amp;quot;:&amp;quot; .. minute .. &amp;quot;:&amp;quot; .. second .. timezone&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</description>
			<pubDate>Thu, 06 Aug 2026 12:12:49 GMT</pubDate>
			<dc:creator>Programmer</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Modul_munozarasi:WikidataChart</comments>
		</item>
</channel></rss>