<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="id">
	<id>https://wiki.yufid.com/index.php?action=history&amp;feed=atom&amp;title=Modul%3AWikibase</id>
	<title>Modul:Wikibase - Riwayat revisi</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yufid.com/index.php?action=history&amp;feed=atom&amp;title=Modul%3AWikibase"/>
	<link rel="alternate" type="text/html" href="https://wiki.yufid.com/index.php?title=Modul:Wikibase&amp;action=history"/>
	<updated>2026-09-27T02:47:14Z</updated>
	<subtitle>Riwayat revisi halaman ini di wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://wiki.yufid.com/index.php?title=Modul:Wikibase&amp;diff=1067&amp;oldid=prev</id>
		<title>Wikiyufid: 1 revisi diimpor: Template Infobox software Di import dari id.wikipedia.org</title>
		<link rel="alternate" type="text/html" href="https://wiki.yufid.com/index.php?title=Modul:Wikibase&amp;diff=1067&amp;oldid=prev"/>
		<updated>2023-02-03T03:51:20Z</updated>

		<summary type="html">&lt;p&gt;1 revisi diimpor: Template Infobox software Di import dari id.wikipedia.org&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;id&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisi sebelumnya&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisi per 3 Februari 2023 03.51&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;id&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Tidak ada perbedaan)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wikiyufid</name></author>
	</entry>
	<entry>
		<id>https://wiki.yufid.com/index.php?title=Modul:Wikibase&amp;diff=1066&amp;oldid=prev</id>
		<title>id.wikipedia.org&gt;Hidayatsrf: Melindungi &quot;Modul:Wikibase&quot;: --500+ transklusi ([Sunting=Hanya untuk pengguna terdaftar otomatis] (selamanya) [Pindahkan=Hanya untuk pengguna terdaftar otomatis] (selamanya))</title>
		<link rel="alternate" type="text/html" href="https://wiki.yufid.com/index.php?title=Modul:Wikibase&amp;diff=1066&amp;oldid=prev"/>
		<updated>2020-04-27T03:34:50Z</updated>

		<summary type="html">&lt;p&gt;Melindungi &amp;quot;&lt;a href=&quot;/index.php/Modul:Wikibase&quot; title=&quot;Modul:Wikibase&quot;&gt;Modul:Wikibase&lt;/a&gt;&amp;quot;: --500+ transklusi ([Sunting=Hanya untuk pengguna terdaftar otomatis] (selamanya) [Pindahkan=Hanya untuk pengguna terdaftar otomatis] (selamanya))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Halaman baru&lt;/b&gt;&lt;/p&gt;&lt;div&gt;---------- Module:Wikibase ----------------&lt;br /&gt;
require(&amp;#039;Module:No globals&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;
-- Returns true if property datavalue is found excluding novalue/somevalue and deprecated rank&lt;br /&gt;
function p.validProperty(frame)&lt;br /&gt;
	local property = mw.text.trim(frame.args[1])&lt;br /&gt;
	local item = frame.args.item or frame.args.from; if item == &amp;#039;&amp;#039; then item = nil end&lt;br /&gt;
	if item == nil then item = mw.wikibase.getEntityIdForCurrentPage() end&lt;br /&gt;
	if item == nil then return end&lt;br /&gt;
	local properties = mw.wikibase.getBestStatements(item, property)&lt;br /&gt;
	if #properties == 0 then return end&lt;br /&gt;
	return properties[1].mainsnak.datavalue and true or nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>id.wikipedia.org&gt;Hidayatsrf</name></author>
	</entry>
</feed>