<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ta">
	<id>https://wiki2.tamilar.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikidataCheck</id>
	<title>Module:WikidataCheck - திருத்த வரலாறு</title>
	<link rel="self" type="application/atom+xml" href="https://wiki2.tamilar.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikidataCheck"/>
	<link rel="alternate" type="text/html" href="https://wiki2.tamilar.wiki/w/index.php?title=Module:WikidataCheck&amp;action=history"/>
	<updated>2026-06-02T02:46:57Z</updated>
	<subtitle>விக்கியில் இப்பக்கத்துக்கான திருத்த வரலாறு</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki2.tamilar.wiki/w/index.php?title=Module:WikidataCheck&amp;diff=91592&amp;oldid=prev</id>
		<title>imported&gt;Sukanthi: &quot;local p = {}  function p.wikidatacheck(frame)     local pframe = frame:getParent()     local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself     local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template          local property = config.property     local value...&quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது</title>
		<link rel="alternate" type="text/html" href="https://wiki2.tamilar.wiki/w/index.php?title=Module:WikidataCheck&amp;diff=91592&amp;oldid=prev"/>
		<updated>2024-02-23T07:00:30Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;local p = {}  function p.wikidatacheck(frame)     local pframe = frame:getParent()     local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself     local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template          local property = config.property     local value...&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;07:00, 23 பெப்பிரவரி 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-234143:rev-91592 --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Sukanthi</name></author>
	</entry>
	<entry>
		<id>https://wiki2.tamilar.wiki/w/index.php?title=Module:WikidataCheck&amp;diff=234143&amp;oldid=prev</id>
		<title>imported&gt;Kanags: &quot;local p = {}  function p.wikidatacheck(frame)     local pframe = f...&quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது</title>
		<link rel="alternate" type="text/html" href="https://wiki2.tamilar.wiki/w/index.php?title=Module:WikidataCheck&amp;diff=234143&amp;oldid=prev"/>
		<updated>2017-05-19T04:44:00Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;local p = {}  function p.wikidatacheck(frame)     local pframe = f...&amp;quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது&lt;/p&gt;
&lt;p&gt;&lt;b&gt;புதிய பக்கம்&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.wikidatacheck(frame)&lt;br /&gt;
    local pframe = frame:getParent()&lt;br /&gt;
    local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself&lt;br /&gt;
    local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template&lt;br /&gt;
    &lt;br /&gt;
    local property = config.property&lt;br /&gt;
    local value = config.value or &amp;quot;&amp;quot;&lt;br /&gt;
    local catbase = config.category&lt;br /&gt;
    local namespaces = config.namespaces&lt;br /&gt;
    local ok = false -- one-way flag to check if we&amp;#039;re in a good namespace&lt;br /&gt;
    local ns = mw.title.getCurrentTitle().namespace&lt;br /&gt;
    for v in mw.text.gsplit( namespaces, &amp;quot;,&amp;quot;, true) do&lt;br /&gt;
        if tonumber(v) == ns then&lt;br /&gt;
            ok = true&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    if not ok then -- not in one of the approved namespaces&lt;br /&gt;
        return &amp;quot;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    local entity = mw.wikibase.getEntityObject()&lt;br /&gt;
    if not entity then -- no Wikidata item&lt;br /&gt;
        return &amp;quot;[[Category:&amp;quot; .. catbase .. &amp;quot; not in Wikidata]]&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    local claims = entity.claims or {}&lt;br /&gt;
    local hasProp = claims[property]&lt;br /&gt;
    if not hasProp then -- no claim of that property&lt;br /&gt;
        return &amp;quot;[[Category:&amp;quot; .. catbase .. &amp;quot; not in Wikidata]]&amp;quot; -- bad. Bot needs to add the property&lt;br /&gt;
    end&lt;br /&gt;
    local propValue = hasProp[1].mainsnak.datavalue.value -- This should eventually iterate over all possible values?&lt;br /&gt;
    if value == &amp;quot;&amp;quot; then&lt;br /&gt;
        return nil -- Using Wikidata&lt;br /&gt;
    elseif propValue == value then&lt;br /&gt;
        return &amp;quot;[[Category:&amp;quot; .. catbase .. &amp;quot; same as Wikidata]]&amp;quot; -- yay!&lt;br /&gt;
    else&lt;br /&gt;
        return &amp;quot;[[Category:&amp;quot; .. catbase .. &amp;quot; different from Wikidata]]&amp;quot; -- needs human review :(&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Kanags</name></author>
	</entry>
</feed>