<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hu">
	<id>https://hu.jwunited.org/index.php?action=history&amp;feed=atom&amp;title=Modul%3AWikibase</id>
	<title>Modul:Wikibase - Laptörténet</title>
	<link rel="self" type="application/atom+xml" href="https://hu.jwunited.org/index.php?action=history&amp;feed=atom&amp;title=Modul%3AWikibase"/>
	<link rel="alternate" type="text/html" href="https://hu.jwunited.org/index.php?title=Modul:Wikibase&amp;action=history"/>
	<updated>2026-05-02T22:03:59Z</updated>
	<subtitle>Az oldal laptörténete a wikiben</subtitle>
	<generator>MediaWiki 1.32.3</generator>
	<entry>
		<id>https://hu.jwunited.org/index.php?title=Modul:Wikibase&amp;diff=42&amp;oldid=prev</id>
		<title>Administrator: Új oldal, tartalma: „---------- Module:Wikibase ---------------- local p = {}  -- Return the item ID of the item linked to the current page. function p.id(frame) 	if not mw.wikibase then…”</title>
		<link rel="alternate" type="text/html" href="https://hu.jwunited.org/index.php?title=Modul:Wikibase&amp;diff=42&amp;oldid=prev"/>
		<updated>2019-10-11T03:29:22Z</updated>

		<summary type="html">&lt;p&gt;Új oldal, tartalma: „---------- Module:Wikibase ---------------- local p = {}  -- Return the item ID of the item linked to the current page. function p.id(frame) 	if not mw.wikibase then…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Új lap&lt;/b&gt;&lt;/p&gt;&lt;div&gt;---------- Module:Wikibase ----------------&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Return the item 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;
&lt;br /&gt;
	entity = mw.wikibase.getEntityObject()&lt;br /&gt;
&lt;br /&gt;
	if entity == nil then&lt;br /&gt;
		return &amp;quot;no entity&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return entity.id&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the label of a given data item, or of connected page&lt;br /&gt;
-- if no argument is provided to this method.&lt;br /&gt;
function p.label(frame)&lt;br /&gt;
	return mw.wikibase.label( frame.args[1] )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the description of a given data item, or of connected page&lt;br /&gt;
-- if no argument is provided to this method.&lt;br /&gt;
function p.description(frame)&lt;br /&gt;
	return mw.wikibase.description( frame.args[1] )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Return the local page about a given data item, or of connected page&lt;br /&gt;
-- if id is not specified.&lt;br /&gt;
function p.page(frame)&lt;br /&gt;
	if frame.args[1] == nil then&lt;br /&gt;
		entity = mw.wikibase.getEntityObject()&lt;br /&gt;
		if not entity then return nil end&lt;br /&gt;
&lt;br /&gt;
		id = entity.id&lt;br /&gt;
	else&lt;br /&gt;
		id = frame.args[1]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return mw.wikibase.sitelink( id )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
		
	</entry>
</feed>