<?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%3ATaxonbar%2Fcandidate</id>
	<title>Module:Taxonbar/candidate - 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%3ATaxonbar%2Fcandidate"/>
	<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:Taxonbar/candidate&amp;action=history"/>
	<updated>2026-05-26T17:51:58Z</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:Taxonbar/candidate&amp;diff=198412&amp;oldid=prev</id>
		<title>Admin at 06:13, 28 June 2023</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:Taxonbar/candidate&amp;diff=198412&amp;oldid=prev"/>
		<updated>2023-06-28T06:13:38Z</updated>

		<summary type="html">&lt;p&gt;&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;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:43, 28 June 2023&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-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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 currentItem = nil&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 currentItem = nil&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 categories = {&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 categories = {&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;			'&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Taxobox articles possibly missing a taxonbar]]&lt;/del&gt;' --unset if acceptable or unacceptable found&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;			'' --unset if acceptable or unacceptable found&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 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-lineno&quot; id=&quot;mw-diff-left-l75&quot;&gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&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;			if acceptableCount &amp;gt; 0 then&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;			if acceptableCount &amp;gt; 0 then&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;				categories[1] = ''&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;				categories[1] = ''&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;				categories[2] = '&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Taxobox articles missing a taxonbar]]&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;				categories[2] = ''&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;			elseif unacceptableCount &amp;gt; 0 then&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;			elseif unacceptableCount &amp;gt; 0 then&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;				categories[1] = ''&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;				categories[1] = ''&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:Taxonbar/candidate&amp;diff=191996&amp;oldid=prev</id>
		<title>Indicwiki: 1 revision imported from :alpha:Module:Taxonbar/candidate</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:Taxonbar/candidate&amp;diff=191996&amp;oldid=prev"/>
		<updated>2023-06-21T06:51:28Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported from &lt;a href=&quot;https://alpha.indicwiki.in/index.php?title=Module:Taxonbar/candidate&quot; class=&quot;extiw&quot; title=&quot;alpha:Module:Taxonbar/candidate&quot;&gt;alpha:Module:Taxonbar/candidate&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 12:21, 21 June 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:Taxonbar/candidate&amp;diff=191995&amp;oldid=prev</id>
		<title>alpha&gt;Indicwiki: Created page with &quot;local p = {}  function p.check(frame) 	local taxonbarExists = require('Module:Taxonbar/exists').check 	if taxonbarExists(frame) then 		return '' 	else 		local resolveEntity =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Module:Taxonbar/candidate&amp;diff=191995&amp;oldid=prev"/>
		<updated>2023-01-27T13:50:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function p.check(frame) 	local taxonbarExists = require(&amp;#039;Module:Taxonbar/exists&amp;#039;).check 	if taxonbarExists(frame) then 		return &amp;#039;&amp;#039; 	else 		local resolveEntity =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.check(frame)&lt;br /&gt;
	local taxonbarExists = require('Module:Taxonbar/exists').check&lt;br /&gt;
	if taxonbarExists(frame) then&lt;br /&gt;
		return ''&lt;br /&gt;
	else&lt;br /&gt;
		local resolveEntity = require( 'Module:ResolveEntityId' )&lt;br /&gt;
		local currentTitle = mw.title.getCurrentTitle()&lt;br /&gt;
		local currentItem = nil&lt;br /&gt;
		local categories = {&lt;br /&gt;
			'[[Category:Taxobox articles possibly missing a taxonbar]]' --unset if acceptable or unacceptable found&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
		--preliminary exclusion criteria&lt;br /&gt;
		if string.match( currentTitle.text, '^List of ') then&lt;br /&gt;
			return ''&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		--find Wikidata item&lt;br /&gt;
		if currentTitle.namespace == 0 then --mainspace&lt;br /&gt;
			local currentEntityId = mw.wikibase.getEntityIdForCurrentPage()&lt;br /&gt;
			if resolveEntity._id(currentEntityId) then&lt;br /&gt;
				currentItem = mw.wikibase.getEntity(currentEntityId)&lt;br /&gt;
			else --currentEntityId == nil/unresolvable&lt;br /&gt;
				return categories[1]&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			return ''&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		if currentItem then --currentItem should not be nil here, but check just in case&lt;br /&gt;
			--determine if {{Taxonbar}} is *possibly* missing, or *definitely* missing&lt;br /&gt;
			local acceptableInstanceOf_All = { --copied from [[Module:Taxonbar]]&lt;br /&gt;
				['Q16521'] = 'taxon',                      --strict&lt;br /&gt;
				['Q310890'] = 'monotypic taxon',           --strict&lt;br /&gt;
				['Q2568288'] = 'ichnotaxon',               --strict&lt;br /&gt;
				['Q23038290'] = 'fossil taxon',            --strict&lt;br /&gt;
				['Q47487597'] = 'monotypic fossil taxon',  --strict&lt;br /&gt;
				['Q42621'] = 'hybrid',                     --lax&lt;br /&gt;
				['Q235536'] = 'incertae sedis',            --lax&lt;br /&gt;
				['Q713623'] = 'clade',                     --lax&lt;br /&gt;
				['Q848328'] = 'serotype',                  --lax&lt;br /&gt;
				['Q857968'] = 'candidatus',                --lax&lt;br /&gt;
				['Q17487588'] = 'unavailable combination', --lax&lt;br /&gt;
			}&lt;br /&gt;
			local unacceptableInstanceOf = {&lt;br /&gt;
				['Q913170'] = 'trivial name',&lt;br /&gt;
				['Q55983715'] = 'group of organisms known by one particular common name',&lt;br /&gt;
				['Q937228'] = 'property',&lt;br /&gt;
				['Q14712'] = 'drupe',&lt;br /&gt;
				['Q163233'] = 'compound drupe',&lt;br /&gt;
				['Q747463'] = 'compound fruit',&lt;br /&gt;
			}&lt;br /&gt;
			&lt;br /&gt;
			local acceptableCount = 0&lt;br /&gt;
			local unacceptableCount = 0&lt;br /&gt;
			for _, instanceOfState in pairs ( currentItem:getBestStatements('P31') ) do --instance of&lt;br /&gt;
				local instanceOf = instanceOfState.mainsnak.datavalue.value.id&lt;br /&gt;
				if acceptableInstanceOf_All[instanceOf] then&lt;br /&gt;
					acceptableCount = acceptableCount + 1&lt;br /&gt;
				elseif unacceptableInstanceOf[instanceOf] then&lt;br /&gt;
					unacceptableCount = unacceptableCount + 1&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			for _, subclassOfState in pairs ( currentItem:getBestStatements('P279') ) do --subclass of&lt;br /&gt;
				local subclassOf = subclassOfState.mainsnak.datavalue.value.id&lt;br /&gt;
				if acceptableInstanceOf_All[subclassOf] then&lt;br /&gt;
					acceptableCount = acceptableCount + 1&lt;br /&gt;
				elseif unacceptableInstanceOf[subclassOf] then&lt;br /&gt;
					unacceptableCount = unacceptableCount + 1&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			if acceptableCount &amp;gt; 0 then&lt;br /&gt;
				categories[1] = ''&lt;br /&gt;
				categories[2] = '[[Category:Taxobox articles missing a taxonbar]]'&lt;br /&gt;
			elseif unacceptableCount &amp;gt; 0 then&lt;br /&gt;
				categories[1] = ''&lt;br /&gt;
				categories[2] = ''&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			return table.concat(categories)&lt;br /&gt;
			&lt;br /&gt;
		else&lt;br /&gt;
			return ''&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>alpha&gt;Indicwiki</name></author>
	</entry>
</feed>