<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.vigyanwiki.in/index.php?action=history&amp;feed=atom&amp;title=Module%3AAbout-distinguish</id>
	<title>Module:About-distinguish - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.vigyanwiki.in/index.php?action=history&amp;feed=atom&amp;title=Module%3AAbout-distinguish"/>
	<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;action=history"/>
	<updated>2026-05-06T02:51:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=63554&amp;oldid=prev</id>
		<title>Indicwiki: 1 revision imported from :alpha:Module:About-distinguish</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=63554&amp;oldid=prev"/>
		<updated>2023-01-12T05:55:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported from &lt;a href=&quot;https://alpha.indicwiki.in/index.php?title=Module:About-distinguish&quot; class=&quot;extiw&quot; title=&quot;alpha:Module:About-distinguish&quot;&gt;alpha:Module:About-distinguish&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:25, 12 January 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Indicwiki</name></author>
	</entry>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=63553&amp;oldid=prev</id>
		<title>alpha&gt;Sarika: Created page with &quot;local mHatnote = require('Module:Hatnote') local mHatlist = require('Module:Hatnote list') local mArguments --initialize lazily local mTableTools = require('Module:TableTools'...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=63553&amp;oldid=prev"/>
		<updated>2022-11-09T07:05:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local mHatnote = require(&amp;#039;Module:Hatnote&amp;#039;) local mHatlist = require(&amp;#039;Module:Hatnote list&amp;#039;) local mArguments --initialize lazily local mTableTools = require(&amp;#039;Module:TableTools&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:35, 9 November 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>alpha&gt;Sarika</name></author>
	</entry>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=20805&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=20805&amp;oldid=prev"/>
		<updated>2022-10-28T09:39:14Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:09, 28 October 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=20804&amp;oldid=prev</id>
		<title>wikipedia&gt;MusikAnimal: Protected &quot;Module:About-distinguish&quot;: High-risk template or module; match protection with associated template ([Edit=Require autoconfirmed or confirmed access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:About-distinguish&amp;diff=20804&amp;oldid=prev"/>
		<updated>2019-02-25T23:17:07Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Module:About-distinguish&quot; title=&quot;Module:About-distinguish&quot;&gt;Module:About-distinguish&lt;/a&gt;&amp;quot;: &lt;a href=&quot;https://en.wikipedia.org/wiki/High-risk_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:High-risk templates&quot;&gt;High-risk template or module&lt;/a&gt;; match protection with associated template ([Edit=Require autoconfirmed or confirmed access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mHatnote = require('Module:Hatnote')&lt;br /&gt;
local mHatlist = require('Module:Hatnote list')&lt;br /&gt;
local mArguments --initialize lazily&lt;br /&gt;
local mTableTools = require('Module:TableTools')&lt;br /&gt;
local checkType = require('libraryUtil').checkType&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.aboutDistinguish (frame)&lt;br /&gt;
	mArguments = require('Module:Arguments')&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('_aboutDistinguish', 1, args, 'table')&lt;br /&gt;
	if not args[1] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			'no about topic supplied',&lt;br /&gt;
			'Template:About-distinguish',&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;
			'no page to be distinguished supplied',&lt;br /&gt;
			'Template:About-distinguish',&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	checkType('_aboutDistinguish', 2, options, 'table', true)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	local defaultOptions = {&lt;br /&gt;
		defaultPageType = 'page',&lt;br /&gt;
		namespace = mw.title.getCurrentTitle().namespace,&lt;br /&gt;
		pageTypesByNamespace = {&lt;br /&gt;
			[0] = 'article',&lt;br /&gt;
			[14] = 'category'&lt;br /&gt;
		},&lt;br /&gt;
		sectionString = 'section'&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;
		['female'] = 'She is',&lt;br /&gt;
		['transgender female'] = &amp;quot;She is&amp;quot;,&lt;br /&gt;
		['male'] = 'He is',&lt;br /&gt;
		['transgender male'] = 'He is',&lt;br /&gt;
		['default'] = 'They are'&lt;br /&gt;
	}&lt;br /&gt;
	local wde = mw.wikibase.getEntity()&lt;br /&gt;
	local p31 = (wde and wde:formatPropertyValues('P31').value) == 'human'&lt;br /&gt;
	local p21 = wde and wde:formatPropertyValues('P21').value&lt;br /&gt;
	local pronoun = p31 and (pronouns[p21] or pronouns['default']) or 'It is'&lt;br /&gt;
&lt;br /&gt;
	--Assemble everything together and return&lt;br /&gt;
	local text = string.format(&lt;br /&gt;
		'This %s is about %s. %s not to be confused with %s.',&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>wikipedia&gt;MusikAnimal</name></author>
	</entry>
</feed>