<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hr">
	<id>https://enciklopedija.cc/index.php?action=history&amp;feed=atom&amp;title=Modul%3AR_VS_UN%2F100</id>
	<title>Modul:R VS UN/100 - Povijest promjena</title>
	<link rel="self" type="application/atom+xml" href="https://enciklopedija.cc/index.php?action=history&amp;feed=atom&amp;title=Modul%3AR_VS_UN%2F100"/>
	<link rel="alternate" type="text/html" href="https://enciklopedija.cc/index.php?title=Modul:R_VS_UN/100&amp;action=history"/>
	<updated>2026-09-03T09:09:50Z</updated>
	<subtitle>Povijest promjena ove stranice na wikiju</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://enciklopedija.cc/index.php?title=Modul:R_VS_UN/100&amp;diff=526660&amp;oldid=prev</id>
		<title>WikiSysop: Stvorena nova stranica sa sadržajem: »local p = {}  function p.main(frame) 	local title = mw.title.getCurrentTitle().text 	 	local prefix = &quot;Rezolucija Vijeća sigurnosti UN%-a&quot; 	 	local extracted_part, err = remove_prefix(title, prefix) 	 	if extracted_part then 		return(Wp100(tonumber(extracted_part)))  -- Output: 1119 	else     	return(&quot;Error: &quot; .. err) 	end end  function remove_prefix(s, prefix)     -- Use string.gsub to replace the prefix with an empty string     local result, cou...«.</title>
		<link rel="alternate" type="text/html" href="https://enciklopedija.cc/index.php?title=Modul:R_VS_UN/100&amp;diff=526660&amp;oldid=prev"/>
		<updated>2024-12-22T11:23:30Z</updated>

		<summary type="html">&lt;p&gt;Stvorena nova stranica sa sadržajem: »local p = {}  function p.main(frame) 	local title = mw.title.getCurrentTitle().text 	 	local prefix = &amp;quot;Rezolucija Vijeća sigurnosti UN%-a&amp;quot; 	 	local extracted_part, err = remove_prefix(title, prefix) 	 	if extracted_part then 		return(Wp100(tonumber(extracted_part)))  -- Output: 1119 	else     	return(&amp;quot;Error: &amp;quot; .. err) 	end end  function remove_prefix(s, prefix)     -- Use string.gsub to replace the prefix with an empty string     local result, cou...«.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nova stranica&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local title = mw.title.getCurrentTitle().text&lt;br /&gt;
	&lt;br /&gt;
	local prefix = &amp;quot;Rezolucija Vijeća sigurnosti UN%-a&amp;quot;&lt;br /&gt;
	&lt;br /&gt;
	local extracted_part, err = remove_prefix(title, prefix)&lt;br /&gt;
	&lt;br /&gt;
	if extracted_part then&lt;br /&gt;
		return(Wp100(tonumber(extracted_part)))  -- Output: 1119&lt;br /&gt;
	else&lt;br /&gt;
    	return(&amp;quot;Error: &amp;quot; .. err)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function remove_prefix(s, prefix)&lt;br /&gt;
    -- Use string.gsub to replace the prefix with an empty string&lt;br /&gt;
    local result, count = string.gsub(s, &amp;quot;^&amp;quot; .. prefix, &amp;quot;&amp;quot;)&lt;br /&gt;
    -- Check if the prefix was found and removed&lt;br /&gt;
    if count &amp;gt; 0 then&lt;br /&gt;
        return result&lt;br /&gt;
    else&lt;br /&gt;
        return nil, &amp;quot;Prefix not found in the string.&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function Wp100(number)&lt;br /&gt;
    -- Calculate the lower bound of the range&lt;br /&gt;
    local lower_bound = math.floor((number - 1) / 100) * 100 + 1&lt;br /&gt;
    -- Calculate the upper bound of the range&lt;br /&gt;
    local upper_bound = lower_bound + 99&lt;br /&gt;
    -- Construct the link&lt;br /&gt;
    local link = string.format(&amp;quot;[[Dodatak:Popis rezolucija Vijeća sigurnosti UN-a od %d do %d]]&amp;quot;, lower_bound, upper_bound)&lt;br /&gt;
    return link&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>