<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://arabrus.kuwaes.com/wiki/action/history/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n?feed=atom</id>
	<title>Модуль:I18n - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://arabrus.kuwaes.com/wiki/action/history/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://arabrus.kuwaes.com/wiki/action/history/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n"/>
	<updated>2026-11-17T02:00:42Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://arabrus.kuwaes.com/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n&amp;diff=1124&amp;oldid=prev</id>
		<title>Abutalha: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="https://arabrus.kuwaes.com/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n&amp;diff=1124&amp;oldid=prev"/>
		<updated>2023-02-03T06:58:17Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 06:58, 3 февраля 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key arabrus-main:diff::1.12:old-1123:rev-1124 --&gt;
&lt;/table&gt;</summary>
		<author><name>Abutalha</name></author>
	</entry>
	<entry>
		<id>https://arabrus.kuwaes.com/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n&amp;diff=1123&amp;oldid=prev</id>
		<title>wiki&gt;Galobtter: Removed protection from &quot;Module:I18n&quot;: No longer high risk</title>
		<link rel="alternate" type="text/html" href="https://arabrus.kuwaes.com/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n&amp;diff=1123&amp;oldid=prev"/>
		<updated>2020-02-16T02:59:27Z</updated>

		<summary type="html">&lt;p&gt;Removed protection from &amp;quot;&lt;a href=&quot;/wiki/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:I18n&quot; title=&quot;Модуль:I18n&quot;&gt;Module:I18n&lt;/a&gt;&amp;quot;: No longer high risk&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;
-- Credit to http://stackoverflow.com/a/1283608/2644759&lt;br /&gt;
-- cc-by-sa 3.0&lt;br /&gt;
local function tableMerge(t1, t2, overwrite)&lt;br /&gt;
	for k,v in pairs(t2) do&lt;br /&gt;
		if type(v) == &amp;quot;table&amp;quot; and type(t1[k]) == &amp;quot;table&amp;quot; then&lt;br /&gt;
			-- since type(t1[k]) == type(v) == &amp;quot;table&amp;quot;, so t1[k] and v is true&lt;br /&gt;
			tableMerge(t1[k], v, overwrite) -- t2[k] == v&lt;br /&gt;
		else&lt;br /&gt;
			if overwrite or t1[k] == nil then t1[k] = v end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return t1&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.loadI18n(name, i18n_arg)&lt;br /&gt;
	local exist, res = pcall(require, name)&lt;br /&gt;
	if exist and next(res) ~= nil then&lt;br /&gt;
		if i18n_arg then&lt;br /&gt;
			tableMerge(i18n_arg, res.i18n, true)&lt;br /&gt;
		elseif type(i18n) == &amp;quot;table&amp;quot; then&lt;br /&gt;
			-- merge to global i18n&lt;br /&gt;
			tableMerge(i18n, res.i18n, true)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.loadI18nFrame(frame, i18n_arg)&lt;br /&gt;
	p.loadI18n(frame:getTitle()..&amp;quot;/i18n&amp;quot;, i18n_arg)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wiki&gt;Galobtter</name></author>
	</entry>
</feed>