<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar">
	<id>https://ar.wikipasokh.com/history/%D9%88%D8%AD%D8%AF%D8%A9:Transclusion_count/%D9%85%D9%84%D8%B9%D8%A8?feed=atom</id>
	<title>وحدة:Transclusion count/ملعب - تاريخ المراجعة</title>
	<link rel="self" type="application/atom+xml" href="https://ar.wikipasokh.com/history/%D9%88%D8%AD%D8%AF%D8%A9:Transclusion_count/%D9%85%D9%84%D8%B9%D8%A8?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://ar.wikipasokh.com/history/%D9%88%D8%AD%D8%AF%D8%A9:Transclusion_count/%D9%85%D9%84%D8%B9%D8%A8"/>
	<updated>2026-05-26T23:50:55Z</updated>
	<subtitle>تاريخ التعديل لهذه الصفحة في الويكي</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://ar.wikipasokh.com/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Transclusion_count/%D9%85%D9%84%D8%B9%D8%A8&amp;diff=1645&amp;oldid=prev</id>
		<title>Nazarzadeh: مراجعة واحدة</title>
		<link rel="alternate" type="text/html" href="https://ar.wikipasokh.com/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Transclusion_count/%D9%85%D9%84%D8%B9%D8%A8&amp;diff=1645&amp;oldid=prev"/>
		<updated>2025-04-17T08:35:43Z</updated>

		<summary type="html">&lt;p&gt;مراجعة واحدة&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;ar&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;→ مراجعة أقدم&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;مراجعة ١٢:٠٥، ١٧ أبريل ٢٠٢٥&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ar&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(لا فرق)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Nazarzadeh</name></author>
	</entry>
	<entry>
		<id>https://ar.wikipasokh.com/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Transclusion_count/%D9%85%D9%84%D8%B9%D8%A8&amp;diff=1644&amp;oldid=prev</id>
		<title>ar&gt;حبيشان: استرجاع تعديلات حبيشان (نقاش) حتى آخر نسخة بواسطة Mohammed Qays</title>
		<link rel="alternate" type="text/html" href="https://ar.wikipasokh.com/index.php?title=%D9%88%D8%AD%D8%AF%D8%A9:Transclusion_count/%D9%85%D9%84%D8%B9%D8%A8&amp;diff=1644&amp;oldid=prev"/>
		<updated>2025-03-29T19:17:48Z</updated>

		<summary type="html">&lt;p&gt;استرجاع تعديلات &lt;a href=&quot;/view/%D8%AE%D8%A7%D8%B5:%D9%85%D8%B3%D8%A7%D9%87%D9%85%D8%A7%D8%AA/%D8%AD%D8%A8%D9%8A%D8%B4%D8%A7%D9%86&quot; title=&quot;خاص:مساهمات/حبيشان&quot;&gt;حبيشان&lt;/a&gt; (&lt;a href=&quot;/index.php?title=%D9%86%D9%82%D8%A7%D8%B4_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:%D8%AD%D8%A8%D9%8A%D8%B4%D8%A7%D9%86&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;نقاش المستخدم:حبيشان (الصفحة غير موجودة)&quot;&gt;نقاش&lt;/a&gt;) حتى آخر نسخة بواسطة &lt;a href=&quot;/index.php?title=%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Mohammed_Qays&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;مستخدم:Mohammed Qays (الصفحة غير موجودة)&quot;&gt;Mohammed Qays&lt;/a&gt;&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._fetch(args)&lt;br /&gt;
	local template = nil&lt;br /&gt;
	local return_value = nil&lt;br /&gt;
&lt;br /&gt;
	-- Use demo parameter if it exists, otherwise use current template name&lt;br /&gt;
	local namespace = mw.title.getCurrentTitle().namespace&lt;br /&gt;
	if args[&amp;quot;demo&amp;quot;] and args[&amp;quot;demo&amp;quot;] ~= &amp;quot;&amp;quot; then&lt;br /&gt;
		template = mw.ustring.gsub(args[&amp;quot;demo&amp;quot;],&amp;quot;^[Tt]emplate:&amp;quot;,&amp;quot;&amp;quot;)&lt;br /&gt;
	elseif namespace == 10 then -- Template namespace&lt;br /&gt;
		template = mw.title.getCurrentTitle().text&lt;br /&gt;
	elseif namespace == 828 then -- Module namespace&lt;br /&gt;
		template = (mw.site.namespaces[828].name .. &amp;quot;:&amp;quot; .. mw.title.getCurrentTitle().text)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- If in template or module namespace, look up count in /data&lt;br /&gt;
	if template ~= nil then&lt;br /&gt;
		namespace = mw.title.new(template, &amp;quot;Template&amp;quot;).namespace&lt;br /&gt;
		if namespace == 10 or namespace == 828 then&lt;br /&gt;
			template =  mw.ustring.gsub(template, &amp;quot;/doc$&amp;quot;, &amp;quot;&amp;quot;) -- strip /doc from end&lt;br /&gt;
			template =  mw.ustring.gsub(template, &amp;quot;/sandbox$&amp;quot;, &amp;quot;&amp;quot;) -- strip /sandbox from end&lt;br /&gt;
			local index = mw.ustring.sub(mw.title.new(template).text,1,1)&lt;br /&gt;
			local status, data = pcall(function ()&lt;br /&gt;
				return(mw.loadData(&amp;#039;Module:Transclusion_count/data/&amp;#039; .. (mw.ustring.find(index, &amp;quot;%a&amp;quot;) and index or &amp;quot;other&amp;quot;)))&lt;br /&gt;
			end)&lt;br /&gt;
			if status then&lt;br /&gt;
				return_value = tonumber(data[mw.ustring.gsub(template, &amp;quot; &amp;quot;, &amp;quot;_&amp;quot;)])&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- If database value doesn&amp;#039;t exist, use value passed to template&lt;br /&gt;
	if return_value == nil and args[1] ~= nil then&lt;br /&gt;
		local arg1=mw.ustring.match(args[1], &amp;#039;[%d,]+&amp;#039;)&lt;br /&gt;
		if arg1 and arg1 ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			return_value = tonumber(mw.getCurrentFrame():callParserFunction(&amp;#039;formatnum&amp;#039;, arg1, &amp;#039;R&amp;#039;))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return return_value	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.fetch(frame)&lt;br /&gt;
	return p._fetch(frame.args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Tabulate this data for [[ويكيبيديا:تقارير قاعدة البيانات/القوالب المضمنة في معظم الصفحات]]&lt;br /&gt;
function p.tabulate()&lt;br /&gt;
	local list = {}&lt;br /&gt;
	for i = 65, 91 do&lt;br /&gt;
		local data = mw.loadData(&amp;#039;Module:Transclusion count/data/&amp;#039; .. ((i == 91) and &amp;#039;other&amp;#039; or string.char(i)))&lt;br /&gt;
		for name, count in pairs(data) do&lt;br /&gt;
			table.insert(list, {mw.title.new(name, &amp;quot;Template&amp;quot;).fullText, count})	&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(list, function(a, b)&lt;br /&gt;
		return (a[2] == b[2]) and (a[1] &amp;lt; b[1]) or (a[2] &amp;gt; b[2])&lt;br /&gt;
	end)&lt;br /&gt;
	local lang = mw.getContentLanguage();&lt;br /&gt;
	for i = 1, #list do&lt;br /&gt;
		list[i] = (&amp;#039;|-\n| %d || [[%s]] || %s\n&amp;#039;):format(i, list[i][1]:gsub(&amp;#039;_&amp;#039;, &amp;#039; &amp;#039;), lang:formatNum(list[i][2]))&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat(list)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>ar&gt;حبيشان</name></author>
	</entry>
</feed>