<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar">
	<id>https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%88%D8%AD%D8%AF%D8%A9%3AIll-wd</id>
	<title>وحدة:Ill-wd - تاريخ المراجعة</title>
	<link rel="self" type="application/atom+xml" href="https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%88%D8%AD%D8%AF%D8%A9%3AIll-wd"/>
	<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Ill-wd&amp;action=history"/>
	<updated>2026-06-05T07:17:48Z</updated>
	<subtitle>تاريخ التعديل لهذه الصفحة في الويكي</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://3rabica.org/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Ill-wd&amp;diff=1427&amp;oldid=prev</id>
		<title>عبد العزيز: أنشأ الصفحة ب&#039;local getArgs = require(&#039;وحدة:Arguments&#039;).getArgs local wikidata = require(&#039;وحدة:Wikidata&#039;) local StringUtils = require(&#039;وحدة:StringUtils&#039;) local p = {}  p.f...&#039;</title>
		<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Ill-wd&amp;diff=1427&amp;oldid=prev"/>
		<updated>2017-11-26T09:38:04Z</updated>

		<summary type="html">&lt;p&gt;أنشأ الصفحة ب&amp;#039;local getArgs = require(&amp;#039;وحدة:Arguments&amp;#039;).getArgs local wikidata = require(&amp;#039;وحدة:Wikidata&amp;#039;) local StringUtils = require(&amp;#039;وحدة:StringUtils&amp;#039;) local p = {}  p.f...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحة جديدة&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local getArgs = require(&amp;#039;وحدة:Arguments&amp;#039;).getArgs&lt;br /&gt;
local wikidata = require(&amp;#039;وحدة:Wikidata&amp;#039;)&lt;br /&gt;
local StringUtils = require(&amp;#039;وحدة:StringUtils&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
p.fromArgs = function(wdId, wdLabel, wdArticleName, capitalize)&lt;br /&gt;
	local out = &amp;#039;&amp;#039;&lt;br /&gt;
	if mw.wikibase.sitelink(wdId) then&lt;br /&gt;
		if wdLabel then&lt;br /&gt;
			out = wikidata.findLinkToItemWithLabel(wdId, wdLabel)&lt;br /&gt;
		else&lt;br /&gt;
			local label = mw.wikibase.label(StringUtils._prependIfMissing({tostring(wdId), &amp;#039;Q&amp;#039;}))&lt;br /&gt;
			if label and capitalize then label = StringUtils._capitalize({ label }) end&lt;br /&gt;
			out = label and wikidata.findLinkToItemWithLabel(wdId, label) or wikidata.findLinkToItem(wdId, capitalize, false, false)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		wdLabel = wdLabel or mw.wikibase.label(wdId) or wikidata.findLabel(wdId)&lt;br /&gt;
		if wdLabel and capitalize then wdLabel = StringUtils._capitalize({ wdLabel }) end&lt;br /&gt;
		wdArticleName = wdArticleName or wdLabel&lt;br /&gt;
		if not wdArticleName then error(&amp;#039;Missing label for item &amp;#039; .. wdId) end&lt;br /&gt;
		out = out .. &amp;#039;[[:&amp;#039; .. wdArticleName&lt;br /&gt;
		if wdArticleName ~= wdLabel then &lt;br /&gt;
			out = out .. &amp;#039;|&amp;#039; .. (wdLabel or wdArticleName)&lt;br /&gt;
		end&lt;br /&gt;
		out = out .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	&lt;br /&gt;
		local wikidataLinkSpan = mw.html.create(&amp;#039;span&amp;#039;):attr(&amp;#039;title&amp;#039;, wdArticleName .. &amp;#039; la Wikidata&amp;#039;):wikitext(&amp;#039;d&amp;#039;)&lt;br /&gt;
		local supTag = mw.html.create(&amp;#039;sup&amp;#039;):tag(&amp;#039;small&amp;#039;):wikitext(mw.ustring.char(0x2060), &amp;#039;([[:d:&amp;#039;, wdId, &amp;#039;|&amp;#039;, tostring(wikidataLinkSpan), &amp;#039;]])&amp;#039;):allDone()&lt;br /&gt;
		out = out .. tostring(supTag)&lt;br /&gt;
	end&lt;br /&gt;
	return out&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.fromArray = function(array)&lt;br /&gt;
	local wdId = StringUtils.prependIfMissing({array[1] or wikidata.getEntityId(), &amp;#039;Q&amp;#039;})&lt;br /&gt;
	local wdLabel = array[3] or mw.wikibase.label(wdId) or wikidata.findLabel(wdId, &amp;#039;ro&amp;#039;)&lt;br /&gt;
	local wdArticleName = array[2] or mw.wikibase.label(wdId) or wikidata.findLabel(wdId, &amp;#039;ro&amp;#039;)&lt;br /&gt;
	local capitalize = array[&amp;#039;capitalize&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
	return p.fromArgs(wdId, wdLabel, wdArticleName, capitalize ~= nil)&lt;br /&gt;
end&lt;br /&gt;
p.fromFrame = function(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p.fromArray(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>عبد العزيز</name></author>
	</entry>
</feed>