<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://ru.ru-skazki.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AProtect</id>
	<title>Модуль:Protect - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://ru.ru-skazki.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AProtect"/>
	<link rel="alternate" type="text/html" href="http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Protect&amp;action=history"/>
	<updated>2026-04-11T12:01:03Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Protect&amp;diff=4333&amp;oldid=prev</id>
		<title>Импортёр: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Protect&amp;diff=4333&amp;oldid=prev"/>
		<updated>2024-05-01T09:53:40Z</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;tr class=&quot;diff-title&quot; lang=&quot;ru&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;Версия от 12:53, 1 мая 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&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>Импортёр</name></author>
	</entry>
	<entry>
		<id>http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Protect&amp;diff=4332&amp;oldid=prev</id>
		<title>ru&gt;Andras: Новая страница: «local function processResult(options, success, ...) 	if not success then 		local message = tostring(... or &#039;(no message)&#039;) 		if options.removeLocation then 			message = string.gsub(message, &#039;^Module:[^:]+:%d+: &#039;, &#039;&#039;, 1) 		end 		return string.format(options.errFormat, message) 	end 	return ... end  local function protect(func, errFormat, options) 	if type(errFormat) == &#039;table&#039; then 		options = options or errFormat 		errFormat = nil 	end 	options = mw.clone(op...»</title>
		<link rel="alternate" type="text/html" href="http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Protect&amp;diff=4332&amp;oldid=prev"/>
		<updated>2023-05-19T16:33:42Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «local function processResult(options, success, ...) 	if not success then 		local message = tostring(... or &amp;#039;(no message)&amp;#039;) 		if options.removeLocation then 			message = string.gsub(message, &amp;#039;^Module:[^:]+:%d+: &amp;#039;, &amp;#039;&amp;#039;, 1) 		end 		return string.format(options.errFormat, message) 	end 	return ... end  local function protect(func, errFormat, options) 	if type(errFormat) == &amp;#039;table&amp;#039; then 		options = options or errFormat 		errFormat = nil 	end 	options = mw.clone(op...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local function processResult(options, success, ...)&lt;br /&gt;
	if not success then&lt;br /&gt;
		local message = tostring(... or &amp;#039;(no message)&amp;#039;)&lt;br /&gt;
		if options.removeLocation then&lt;br /&gt;
			message = string.gsub(message, &amp;#039;^Module:[^:]+:%d+: &amp;#039;, &amp;#039;&amp;#039;, 1)&lt;br /&gt;
		end&lt;br /&gt;
		return string.format(options.errFormat, message)&lt;br /&gt;
	end&lt;br /&gt;
	return ...&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function protect(func, errFormat, options)&lt;br /&gt;
	if type(errFormat) == &amp;#039;table&amp;#039; then&lt;br /&gt;
		options = options or errFormat&lt;br /&gt;
		errFormat = nil&lt;br /&gt;
	end&lt;br /&gt;
	options = mw.clone(options) or {}&lt;br /&gt;
	options.errFormat = errFormat or options.errFormat or &amp;#039;Error: %s&amp;#039;&lt;br /&gt;
	if not options.raw then&lt;br /&gt;
		options.errFormat = &amp;#039;&amp;lt;strong class=&amp;quot;error&amp;quot;&amp;gt;&amp;#039; .. options.errFormat .. &amp;#039;&amp;lt;/strong&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	options.removeLocation = options.removeLocation == nil or options.removeLocation&lt;br /&gt;
	&lt;br /&gt;
	return function (...)&lt;br /&gt;
		return processResult(options, pcall(func, ...))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return protect&lt;/div&gt;</summary>
		<author><name>ru&gt;Andras</name></author>
	</entry>
</feed>