<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ta">
	<id>https://wiki1.tamilar.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikidataIdentifiers</id>
	<title>Module:WikidataIdentifiers - திருத்த வரலாறு</title>
	<link rel="self" type="application/atom+xml" href="https://wiki1.tamilar.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikidataIdentifiers"/>
	<link rel="alternate" type="text/html" href="https://wiki1.tamilar.wiki/w/index.php?title=Module:WikidataIdentifiers&amp;action=history"/>
	<updated>2026-06-02T12:40:19Z</updated>
	<subtitle>விக்கியில் இப்பக்கத்துக்கான திருத்த வரலாறு</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki1.tamilar.wiki/w/index.php?title=Module:WikidataIdentifiers&amp;diff=108071&amp;oldid=prev</id>
		<title>imported&gt;Sukanthi: &quot;-- Functions for use in retrieving Wikidata for use in templates that deal with identifiers -- getIdentifierQualifier returns the value of a qualifier for an Identifier  p = {}  -- getIdentifierQualifier returns the value of a qualifier for an Identifier -- such as &#039;Art UK artist ID&#039;, P1367 -- the assumption is that one value exists for the property -- and only on...&quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது</title>
		<link rel="alternate" type="text/html" href="https://wiki1.tamilar.wiki/w/index.php?title=Module:WikidataIdentifiers&amp;diff=108071&amp;oldid=prev"/>
		<updated>2024-07-31T10:39:14Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;-- Functions for use in retrieving Wikidata for use in templates that deal with identifiers -- getIdentifierQualifier returns the value of a qualifier for an Identifier  p = {}  -- getIdentifierQualifier returns the value of a qualifier for an Identifier -- such as &amp;#039;Art UK artist ID&amp;#039;, P1367 -- the assumption is that one value exists for the property -- and only on...&amp;quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது&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;ta&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← பழைய திருத்தம்&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;10:39, 31 சூலை 2024 இல் நிலவும் திருத்தம்&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;ta&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(வேறுபாடு ஏதுமில்லை)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-254064:rev-108071 --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Sukanthi</name></author>
	</entry>
	<entry>
		<id>https://wiki1.tamilar.wiki/w/index.php?title=Module:WikidataIdentifiers&amp;diff=254064&amp;oldid=prev</id>
		<title>imported&gt;Balajijagadesh: :en:Module:WikidataIdentifiers இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன</title>
		<link rel="alternate" type="text/html" href="https://wiki1.tamilar.wiki/w/index.php?title=Module:WikidataIdentifiers&amp;diff=254064&amp;oldid=prev"/>
		<updated>2019-05-16T04:26:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Module:WikidataIdentifiers&quot; class=&quot;extiw&quot; title=&quot;en:Module:WikidataIdentifiers&quot;&gt;en:Module:WikidataIdentifiers&lt;/a&gt; இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன&lt;/p&gt;
&lt;p&gt;&lt;b&gt;புதிய பக்கம்&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Functions for use in retrieving Wikidata for use in templates that deal with identifiers&lt;br /&gt;
-- getIdentifierQualifier returns the value of a qualifier for an Identifier&lt;br /&gt;
&lt;br /&gt;
p = {}&lt;br /&gt;
&lt;br /&gt;
-- getIdentifierQualifier returns the value of a qualifier for an Identifier&lt;br /&gt;
-- such as &amp;#039;Art UK artist ID&amp;#039;, P1367&lt;br /&gt;
-- the assumption is that one value exists for the property&lt;br /&gt;
-- and only one qualifier exists for that value&lt;br /&gt;
-- Constraint violations for P1367 are at:&lt;br /&gt;
-- https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P1367#Single_value&lt;br /&gt;
p.getIdentifierQualifier = function(frame)&lt;br /&gt;
	local propertyID = mw.text.trim(frame.args[1] or &amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	-- The PropertyID of the qualifier&lt;br /&gt;
	-- whose value is to be returned is passed in named parameter |qual=&lt;br /&gt;
	local qualifierID = frame.args.qual&lt;br /&gt;
	&lt;br /&gt;
	-- Can take a named parameter |qid which is the Wikidata ID for the article.&lt;br /&gt;
	-- This will not normally be used because it&amp;#039;s an expensive call.&lt;br /&gt;
	local qid = frame.args.qid&lt;br /&gt;
	if qid and (#qid == 0) then qid = nil end&lt;br /&gt;
&lt;br /&gt;
	local entity = mw.wikibase.getEntityObject(qid)&lt;br /&gt;
	local props&lt;br /&gt;
	if entity and entity.claims then&lt;br /&gt;
		props = entity.claims[propertyID]&lt;br /&gt;
	end&lt;br /&gt;
	if props then&lt;br /&gt;
		-- Check that the first value of the property is an external id&lt;br /&gt;
		if props[1].mainsnak.datatype == &amp;quot;external-id&amp;quot; then&lt;br /&gt;
			-- get any qualifiers of the first value of the property&lt;br /&gt;
			local quals = props[1].qualifiers&lt;br /&gt;
			if quals and quals[qualifierID] then&lt;br /&gt;
				-- check what the dataype of the first qualifier value is&lt;br /&gt;
				-- if it&amp;#039;s quantity return the amount&lt;br /&gt;
				if quals[qualifierID][1].datatype == &amp;quot;quantity&amp;quot; then&lt;br /&gt;
					return tonumber(quals[qualifierID][1].datavalue.value.amount)&lt;br /&gt;
				end&lt;br /&gt;
				-- checks for other datatypes go here:&lt;br /&gt;
				&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Balajijagadesh</name></author>
	</entry>
</feed>