<?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%3AWikibase</id>
	<title>Module:Wikibase - திருத்த வரலாறு</title>
	<link rel="self" type="application/atom+xml" href="https://wiki1.tamilar.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikibase"/>
	<link rel="alternate" type="text/html" href="https://wiki1.tamilar.wiki/w/index.php?title=Module:Wikibase&amp;action=history"/>
	<updated>2026-06-02T17:22:19Z</updated>
	<subtitle>விக்கியில் இப்பக்கத்துக்கான திருத்த வரலாறு</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki1.tamilar.wiki/w/index.php?title=Module:Wikibase&amp;diff=88301&amp;oldid=prev</id>
		<title>imported&gt;Lingam: &quot;---------- Module:Wikibase ---------------- require(&#039;strict&#039;) local p = {}  -- Return the entity ID of the item linked to the current page. function p.id(frame) 	if not mw.wikibase then 		return &quot;no mw.wikibase&quot; 	end 	return mw.wikibase.getEntityIdForCurrentPage() or &quot;no entity&quot; end  -- Return the URL of an entity given its entity ID -- or the item linked to the c...&quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது</title>
		<link rel="alternate" type="text/html" href="https://wiki1.tamilar.wiki/w/index.php?title=Module:Wikibase&amp;diff=88301&amp;oldid=prev"/>
		<updated>2024-01-10T09:56:25Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;---------- Module:Wikibase ---------------- require(&amp;#039;strict&amp;#039;) local p = {}  -- Return the entity ID of the item linked to the current page. function p.id(frame) 	if not mw.wikibase then 		return &amp;quot;no mw.wikibase&amp;quot; 	end 	return mw.wikibase.getEntityIdForCurrentPage() or &amp;quot;no entity&amp;quot; end  -- Return the URL of an entity given its entity ID -- or the item linked to the c...&amp;quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது&lt;/p&gt;
&lt;p&gt;&lt;b&gt;புதிய பக்கம்&lt;/b&gt;&lt;/p&gt;&lt;div&gt;---------- Module:Wikibase ----------------&lt;br /&gt;
require(&amp;#039;strict&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Return the entity ID of the item linked to the current page.&lt;br /&gt;
function p.id(frame)&lt;br /&gt;
	if not mw.wikibase then&lt;br /&gt;
		return &amp;quot;no mw.wikibase&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	return mw.wikibase.getEntityIdForCurrentPage() or &amp;quot;no entity&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the URL of an entity given its entity ID&lt;br /&gt;
-- or the item linked to the current page if no argument is provided.&lt;br /&gt;
function p.wdurl(frame)&lt;br /&gt;
	return mw.wikibase.getEntityUrl(frame.args[1] and mw.text.trim(frame.args[1])) -- defaults to entity URL of the item linked to the current page&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the label of an entity given its entity ID&lt;br /&gt;
-- or the item linked to the current page if no argument is provided.&lt;br /&gt;
function p.label(frame)&lt;br /&gt;
	return mw.wikibase.getLabel(frame.args[1] and mw.text.trim(frame.args[1])) -- defaults to label of the item linked to the current page&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the description of an entity given its entity ID&lt;br /&gt;
-- or the item linked to the current page if no argument is provided.&lt;br /&gt;
function p.description(frame)&lt;br /&gt;
	return mw.wikibase.getDescription(frame.args[1] and mw.text.trim(frame.args[1])) -- defaults to description of the item linked to the current page&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the local title of an item given its entity ID&lt;br /&gt;
-- or the item linked to the current page if no argument is provided.&lt;br /&gt;
function p.page(frame)&lt;br /&gt;
	local qid = frame.args[1] and mw.text.trim(frame.args[1])&lt;br /&gt;
	if not qid or qid == &amp;#039;&amp;#039; then&lt;br /&gt;
		qid = mw.wikibase.getEntityIdForCurrentPage() -- default the item connected to the current page&lt;br /&gt;
	end&lt;br /&gt;
	return mw.wikibase.getSitelink(qid or &amp;#039;&amp;#039;) -- requires one string arg&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the data type of a property given its entity ID.&lt;br /&gt;
function p.datatype(frame)&lt;br /&gt;
	local prop = mw.wikibase.getEntity(frame.args[1] and mw.text.trim(frame.args[1]):upper():gsub(&amp;#039;PROPERTY:P&amp;#039;, &amp;#039;P&amp;#039;)) -- trim and remove any &amp;quot;Property:&amp;quot; prefix&lt;br /&gt;
	return prop and prop.datatype&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Lingam</name></author>
	</entry>
</feed>