<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ro">
	<id>https://enciclopedia.md/index.php?action=history&amp;feed=atom&amp;title=Modul%3ACommonscat</id>
	<title>Modul:Commonscat - Revizia istoricului</title>
	<link rel="self" type="application/atom+xml" href="https://enciclopedia.md/index.php?action=history&amp;feed=atom&amp;title=Modul%3ACommonscat"/>
	<link rel="alternate" type="text/html" href="https://enciclopedia.md/index.php?title=Modul:Commonscat&amp;action=history"/>
	<updated>2026-06-06T03:53:04Z</updated>
	<subtitle>Istoricul versiunilor pentru această pagină din wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://enciclopedia.md/index.php?title=Modul:Commonscat&amp;diff=540&amp;oldid=prev</id>
		<title>Ana Vornic: Pagină nouă: local getArgs = require(&#039;Modul:Arguments&#039;).getArgs local wikidata = require(&#039;Modul:Wikidata&#039;) local StringUtils = require(&#039;Modul:StringUtils&#039;) local p = {}  local function makeInvokeFunc(funcName) 	return function(frame) 		local args = getArgs(frame) 		return p[funcName](args) 	end end  p._main = function(args) 	local mainDiv = mw.html.create(&#039;div&#039;) 		:addClass(&#039;noprint&#039;) 		:css(&#039;clear&#039;, &#039;right&#039;) 		:css(&#039;border&#039;, &#039;solid #aaa 1px&#039;) 		:css(&#039;margin&#039;, &#039;0 0 1em 1em&#039;) 		:css(&#039;font-...</title>
		<link rel="alternate" type="text/html" href="https://enciclopedia.md/index.php?title=Modul:Commonscat&amp;diff=540&amp;oldid=prev"/>
		<updated>2024-07-19T10:32:16Z</updated>

		<summary type="html">&lt;p&gt;Pagină nouă: local getArgs = require(&amp;#039;Modul:Arguments&amp;#039;).getArgs local wikidata = require(&amp;#039;Modul:Wikidata&amp;#039;) local StringUtils = require(&amp;#039;Modul:StringUtils&amp;#039;) local p = {}  local function makeInvokeFunc(funcName) 	return function(frame) 		local args = getArgs(frame) 		return p[funcName](args) 	end end  p._main = function(args) 	local mainDiv = mw.html.create(&amp;#039;div&amp;#039;) 		:addClass(&amp;#039;noprint&amp;#039;) 		:css(&amp;#039;clear&amp;#039;, &amp;#039;right&amp;#039;) 		:css(&amp;#039;border&amp;#039;, &amp;#039;solid #aaa 1px&amp;#039;) 		:css(&amp;#039;margin&amp;#039;, &amp;#039;0 0 1em 1em&amp;#039;) 		:css(&amp;#039;font-...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pagină nouă&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local getArgs = require(&amp;#039;Modul:Arguments&amp;#039;).getArgs&lt;br /&gt;
local wikidata = require(&amp;#039;Modul:Wikidata&amp;#039;)&lt;br /&gt;
local StringUtils = require(&amp;#039;Modul:StringUtils&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function makeInvokeFunc(funcName)&lt;br /&gt;
	return function(frame)&lt;br /&gt;
		local args = getArgs(frame)&lt;br /&gt;
		return p[funcName](args)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p._main = function(args)&lt;br /&gt;
	local mainDiv = mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;noprint&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;clear&amp;#039;, &amp;#039;right&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;border&amp;#039;, &amp;#039;solid #aaa 1px&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;margin&amp;#039;, &amp;#039;0 0 1em 1em&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;font-size&amp;#039;, &amp;#039;90%&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;background&amp;#039;, &amp;#039;#f9f9f9&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;width&amp;#039;, &amp;#039;230px&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;padding&amp;#039;, &amp;#039;2px&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;spacing&amp;#039;, &amp;#039;2px&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;text-align&amp;#039;, &amp;#039;center&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;float&amp;#039;, &amp;#039;right&amp;#039;)&lt;br /&gt;
	mainDiv:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;float&amp;#039;, &amp;#039;left&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;vertical-align&amp;#039;, &amp;#039;middle&amp;#039;)&lt;br /&gt;
		:wikitext(&amp;#039;[[Fișier:Commons-logo.svg|30px|none|Commons]]&amp;#039;)&lt;br /&gt;
	local innerDiv = mainDiv:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;margin-left&amp;#039;, &amp;#039;35px&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;line-height&amp;#039;, &amp;#039;normal&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;vertical-align&amp;#039;, &amp;#039;middle&amp;#039;)&lt;br /&gt;
	local commonsCatName = args[1] or StringUtils.emptyToNil({wikidata.findOneValue(&amp;#039;P373&amp;#039;)}) or mw.title.getCurrentTitle().text&lt;br /&gt;
	local displayCatName = args[2] or StringUtils.emptyToNil({wikidata.getLabel()}) or mw.title.getCurrentTitle().text&lt;br /&gt;
	local commonsCatURL = mw.uri.fullUrl(&amp;#039;commons:Category:&amp;#039; .. commonsCatName, { uselang = &amp;#039;ro&amp;#039; })&lt;br /&gt;
	local commonsCatSpan = mw.html.create(&amp;#039;span&amp;#039;):addClass(&amp;#039;plainlinks&amp;#039;):wikitext(&amp;quot;&amp;#039;&amp;#039;&amp;#039;[&amp;quot; .. tostring(commonsCatURL) .. &amp;quot; &amp;quot; .. displayCatName .. &amp;quot;]&amp;#039;&amp;#039;&amp;#039;&amp;quot;)&lt;br /&gt;
	innerDiv:wikitext(&amp;#039;[[Wikimedia Commons]] conține materiale multimedia legate de &amp;#039; .. tostring(commonsCatSpan))&lt;br /&gt;
	return tostring(mainDiv)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.main = makeInvokeFunc(&amp;#039;_main&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
p._inline = function(args)&lt;br /&gt;
	local commonsCatName = args[1] or StringUtils.emptyToNil({wikidata.findOneValue(&amp;#039;P373&amp;#039;)}) or mw.title.getCurrentTitle().text&lt;br /&gt;
	local displayCatName = args[2] or StringUtils.emptyToNil({wikidata.getLabel()}) or mw.title.getCurrentTitle().text&lt;br /&gt;
	local commonsCatURL = mw.uri.fullUrl(&amp;#039;commons:Category:&amp;#039; .. commonsCatName, { uselang = &amp;#039;ro&amp;#039; })&lt;br /&gt;
	local commonsCatSpan = mw.html.create(&amp;#039;span&amp;#039;):addClass(&amp;#039;plainlinks&amp;#039;):wikitext(&amp;quot;&amp;#039;&amp;#039;&amp;#039;[&amp;quot; .. tostring(commonsCatURL) .. &amp;quot; &amp;quot; .. displayCatName .. &amp;quot;]&amp;#039;&amp;#039;&amp;#039;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	return &amp;#039;[[File:Commons-logo.svg|16x16px]]&amp;#039; .. &amp;#039;  Materiale media legate de &amp;#039; .. tostring(commonsCatSpan) .. &amp;#039; la [[Wikimedia Commons]]&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
p.inline = makeInvokeFunc(&amp;#039;_inline&amp;#039;);&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Ana Vornic</name></author>
	</entry>
</feed>