<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="uz">
	<id>https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Modul%3AAbout-distinguish</id>
	<title>Modul:About-distinguish - Oʻzgarishlar tarixi</title>
	<link rel="self" type="application/atom+xml" href="https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Modul%3AAbout-distinguish"/>
	<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Modul:About-distinguish&amp;action=history"/>
	<updated>2026-11-22T10:16:01Z</updated>
	<subtitle>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://ziyosfera.uz/index.php?title=Modul:About-distinguish&amp;diff=899268&amp;oldid=prev</id>
		<title>Ziyosfera: mw.wikibase stub: Ziyosferada Wikibase klienti yoʻq (Lua xatosini oldini olish)</title>
		<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Modul:About-distinguish&amp;diff=899268&amp;oldid=prev"/>
		<updated>2026-08-18T09:45:46Z</updated>

		<summary type="html">&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:45 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 mHatnote = require(&amp;#039;Module:Hatnote&amp;#039;)&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 mHatnote = require(&amp;#039;Module:Hatnote&amp;#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;local mHatlist = require(&amp;#039;Module:Hatnote list&amp;#039;)&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 mHatlist = require(&amp;#039;Module:Hatnote list&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ziyoold-mediawiki-:diff:1.41:old-98778:rev-899268:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Ziyosfera</name></author>
	</entry>
	<entry>
		<id>https://ziyosfera.uz/index.php?title=Modul:About-distinguish&amp;diff=98778&amp;oldid=prev</id>
		<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
		<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Modul:About-distinguish&amp;diff=98778&amp;oldid=prev"/>
		<updated>2026-08-06T11:59:55Z</updated>

		<summary type="html">&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 mHatnote = require(&amp;#039;Module:Hatnote&amp;#039;)&lt;br /&gt;
local mHatlist = require(&amp;#039;Module:Hatnote list&amp;#039;)&lt;br /&gt;
local mArguments --initialize lazily&lt;br /&gt;
local mTableTools = require(&amp;#039;Module:TableTools&amp;#039;)&lt;br /&gt;
local checkType = require(&amp;#039;libraryUtil&amp;#039;).checkType&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.aboutDistinguish (frame)&lt;br /&gt;
	mArguments = require(&amp;#039;Module:Arguments&amp;#039;)&lt;br /&gt;
	local args = mArguments.getArgs(frame)&lt;br /&gt;
	return p._aboutDistinguish(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._aboutDistinguish(args, options)&lt;br /&gt;
	-- Type checks and defaults&lt;br /&gt;
	checkType(&amp;#039;_aboutDistinguish&amp;#039;, 1, args, &amp;#039;table&amp;#039;)&lt;br /&gt;
	if not args[1] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			&amp;#039;no about topic supplied&amp;#039;,&lt;br /&gt;
			&amp;#039;Template:About-distinguish&amp;#039;,&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	if not args[2] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			&amp;#039;no page to be distinguished supplied&amp;#039;,&lt;br /&gt;
			&amp;#039;Template:About-distinguish&amp;#039;,&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	checkType(&amp;#039;_aboutDistinguish&amp;#039;, 2, options, &amp;#039;table&amp;#039;, true)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	local defaultOptions = {&lt;br /&gt;
		defaultPageType = &amp;#039;page&amp;#039;,&lt;br /&gt;
		namespace = mw.title.getCurrentTitle().namespace,&lt;br /&gt;
		pageTypesByNamespace = {&lt;br /&gt;
			[0] = &amp;#039;article&amp;#039;,&lt;br /&gt;
			[14] = &amp;#039;category&amp;#039;&lt;br /&gt;
		},&lt;br /&gt;
		sectionString = &amp;#039;section&amp;#039;&lt;br /&gt;
	}&lt;br /&gt;
	for k, v in pairs(defaultOptions) do&lt;br /&gt;
		if options[k] == nil then options[k] = v end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set pieces of initial &amp;quot;about&amp;quot; string&lt;br /&gt;
	local pageType = (args.section and options.sectionString) or&lt;br /&gt;
		options.pageTypesByNamespace[options.namespace] or&lt;br /&gt;
		options.defaultPageType&lt;br /&gt;
	args = mTableTools.compressSparseArray(args)&lt;br /&gt;
	local about = table.remove(args, 1)&lt;br /&gt;
&lt;br /&gt;
	--Get pronoun from Wikidata. Really basic, but it should work.&lt;br /&gt;
	local pronouns = {&lt;br /&gt;
		[&amp;#039;female&amp;#039;] = &amp;#039;She is&amp;#039;,&lt;br /&gt;
		[&amp;#039;transgender female&amp;#039;] = &amp;quot;She is&amp;quot;,&lt;br /&gt;
		[&amp;#039;male&amp;#039;] = &amp;#039;He is&amp;#039;,&lt;br /&gt;
		[&amp;#039;transgender male&amp;#039;] = &amp;#039;He is&amp;#039;,&lt;br /&gt;
		[&amp;#039;default&amp;#039;] = &amp;#039;They are&amp;#039;&lt;br /&gt;
	}&lt;br /&gt;
	local wde = mw.wikibase.getEntity()&lt;br /&gt;
	local p31 = (wde and wde:formatPropertyValues(&amp;#039;P31&amp;#039;).value) == &amp;#039;human&amp;#039;&lt;br /&gt;
	local p21 = wde and wde:formatPropertyValues(&amp;#039;P21&amp;#039;).value&lt;br /&gt;
	local pronoun = p31 and (pronouns[p21] or pronouns[&amp;#039;default&amp;#039;]) or &amp;#039;It is&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	--Assemble everything together and return&lt;br /&gt;
	local text = string.format(&lt;br /&gt;
		&amp;#039;This %s is about %s. %s not to be confused with %s.&amp;#039;,&lt;br /&gt;
		pageType,&lt;br /&gt;
		about,&lt;br /&gt;
		pronoun,&lt;br /&gt;
		mHatlist.orList(args, true)&lt;br /&gt;
	)&lt;br /&gt;
	return mHatnote._hatnote(text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Programmer</name></author>
	</entry>
</feed>