<?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:Redirect-distinguish?feed=atom</id>
	<title>Модуль:Redirect-distinguish - История изменений</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:Redirect-distinguish?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:Redirect-distinguish"/>
	<updated>2026-11-17T01:53:52Z</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:Redirect-distinguish&amp;diff=682&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:Redirect-distinguish&amp;diff=682&amp;oldid=prev"/>
		<updated>2022-12-24T02:44:12Z</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;Версия от 02:44, 24 декабря 2022&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>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:Redirect-distinguish&amp;diff=681&amp;oldid=prev</id>
		<title>wiki&gt;Elli: Undid revision 1066390800 by Faster than Thunder (talk) yeah, no, this is inappropriate</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:Redirect-distinguish&amp;diff=681&amp;oldid=prev"/>
		<updated>2022-01-18T05:49:10Z</updated>

		<summary type="html">&lt;p&gt;Undid revision 1066390800 by &lt;a href=&quot;/wiki/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%BA%D0%BB%D0%B0%D0%B4/Faster_than_Thunder&quot; title=&quot;Служебная:Вклад/Faster than Thunder&quot;&gt;Faster than Thunder&lt;/a&gt; (&lt;a href=&quot;/wiki/action/edit/%D0%9E%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5_%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA%D0%B0:Faster_than_Thunder?redlink=1&quot; class=&quot;new&quot; title=&quot;Обсуждение участника:Faster than Thunder (страница не существует)&quot;&gt;talk&lt;/a&gt;) yeah, no, this is inappropriate&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local mHatnote = require(&amp;#039;Module:Hatnote&amp;#039;)&lt;br /&gt;
local mHatlist = require(&amp;#039;Module:Hatnote list&amp;#039;)&lt;br /&gt;
local mArguments --initialize lazily&lt;br /&gt;
local mTableTools = require(&amp;#039;Module:TableTools&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.redirectDistinguish (frame)&lt;br /&gt;
	mArguments = require(&amp;#039;Module:Arguments&amp;#039;)&lt;br /&gt;
	local args = mArguments.getArgs(frame)&lt;br /&gt;
	return p._redirectDistinguish(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._redirectDistinguish(args)&lt;br /&gt;
	if not args[1] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			&amp;#039;no redirect supplied&amp;#039;,&lt;br /&gt;
			&amp;#039;Template:Redirect-distinguish&amp;#039;,&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	local redirectTitle = mw.title.new(args[1])&lt;br /&gt;
	local currentTitle = currentTitle or mw.title.getCurrentTitle()&lt;br /&gt;
	if&lt;br /&gt;
		string.match(args[1], &amp;#039;REDIRECT%d+&amp;#039;) or&lt;br /&gt;
		args[1] == &amp;#039;TERM&amp;#039; or&lt;br /&gt;
		currentTitle.namespace ~= 0&lt;br /&gt;
	then&lt;br /&gt;
		--do nothing&lt;br /&gt;
	elseif not redirectTitle or not redirectTitle.exists then&lt;br /&gt;
		args[1] = args[1] .. &amp;#039;[[Category:Missing redirects]]&amp;#039;&lt;br /&gt;
	elseif not redirectTitle.isRedirect then&lt;br /&gt;
		if string.find(redirectTitle:getContent(), &amp;#039;#invoke:RfD&amp;#039;) then&lt;br /&gt;
			args[1] = args[1] ..&lt;br /&gt;
				&amp;#039;[[Category:Articles with redirect hatnotes impacted by RfD]]&amp;#039;&lt;br /&gt;
		else&lt;br /&gt;
			args[1] = args[1] ..&lt;br /&gt;
				&amp;#039;[[Category:Articles with redirect hatnotes needing review]]&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if not args[2] then&lt;br /&gt;
		return mHatnote.makeWikitextError(&lt;br /&gt;
			&amp;#039;no page to be distinguished supplied&amp;#039;,&lt;br /&gt;
			&amp;#039;Template:Redirect-distinguish&amp;#039;,&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	args = mTableTools.compressSparseArray(args)&lt;br /&gt;
	--Assignment by removal here makes for convenient concatenation later&lt;br /&gt;
	local redirect = table.remove(args, 1)&lt;br /&gt;
	local text = string.format(&lt;br /&gt;
		&amp;#039;&amp;quot;%s&amp;quot; redirects here. Not to be confused with %s.&amp;#039;,&lt;br /&gt;
		redirect,&lt;br /&gt;
		mHatlist.orList(args, true)&lt;br /&gt;
	)&lt;br /&gt;
	return mHatnote._hatnote(text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wiki&gt;Elli</name></author>
	</entry>
</feed>