<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>http://japolitiball.myht.org/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AWikidata</id>
	<title>モジュール:Wikidata - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="http://japolitiball.myht.org/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AWikidata"/>
	<link rel="alternate" type="text/html" href="http://japolitiball.myht.org/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Wikidata&amp;action=history"/>
	<updated>2026-08-08T11:35:33Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://japolitiball.myht.org/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Wikidata&amp;diff=138&amp;oldid=prev</id>
		<title>LiberalPolandball: ページの作成:「local p = {}  function p.claim(frame)     local entity = frame.args.entity or mw.wikibase.getEntityIdForCurrentPage()     local property = frame.args.property      if not entity then         return &quot;error0&quot;     end     if not property then         return &quot;error1&quot;     end      local entityTable = mw.wikibase.getEntity(entity)     if not entityTable or not entityTable.claims or not entityTable.claims[property] then         return &quot;error2&quot;     end      local claim = en…」</title>
		<link rel="alternate" type="text/html" href="http://japolitiball.myht.org/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Wikidata&amp;diff=138&amp;oldid=prev"/>
		<updated>2026-07-20T07:05:47Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「local p = {}  function p.claim(frame)     local entity = frame.args.entity or mw.wikibase.getEntityIdForCurrentPage()     local property = frame.args.property      if not entity then         return &amp;quot;error0&amp;quot;     end     if not property then         return &amp;quot;error1&amp;quot;     end      local entityTable = mw.wikibase.getEntity(entity)     if not entityTable or not entityTable.claims or not entityTable.claims[property] then         return &amp;quot;error2&amp;quot;     end      local claim = en…」&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.claim(frame)&lt;br /&gt;
    local entity = frame.args.entity or mw.wikibase.getEntityIdForCurrentPage()&lt;br /&gt;
    local property = frame.args.property&lt;br /&gt;
&lt;br /&gt;
    if not entity then&lt;br /&gt;
        return &amp;quot;error0&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    if not property then&lt;br /&gt;
        return &amp;quot;error1&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local entityTable = mw.wikibase.getEntity(entity)&lt;br /&gt;
    if not entityTable or not entityTable.claims or not entityTable.claims[property] then&lt;br /&gt;
        return &amp;quot;error2&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local claim = entityTable.claims[property][1]&lt;br /&gt;
    if claim.mainsnak and claim.mainsnak.datavalue then&lt;br /&gt;
        return claim.mainsnak.datavalue.value.amount or &amp;quot;error3&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return &amp;quot;データが取得できません。&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>LiberalPolandball</name></author>
	</entry>
</feed>