<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="rue">
	<id>https://wiki.kocky.cc/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3ADisambiguation</id>
	<title>Модуль:Disambiguation - Історія едітовань</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kocky.cc/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3ADisambiguation"/>
	<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Disambiguation&amp;action=history"/>
	<updated>2026-04-03T23:40:08Z</updated>
	<subtitle>Історія едітовань той сторінкы на вікі</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Disambiguation&amp;diff=25&amp;oldid=prev</id>
		<title>Бетярь в 20:28, 17 октовбра 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Disambiguation&amp;diff=25&amp;oldid=prev"/>
		<updated>2023-10-17T20:28:54Z</updated>

		<summary type="html">&lt;p&gt;&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;rue&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;Ревізія 22:28, 17 октовбра 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot;&gt;Рядок 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Рядок 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;p._isDisambiguationPage = function(page)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;p._isDisambiguationPage = function(page)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	-- Look &amp;quot;(disambiguation)&amp;quot; in the title&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	-- Look &amp;quot;(disambiguation)&amp;quot; in the title&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if string.find(page, &quot;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;disambiguation&lt;/del&gt;)&quot;,0,true) ~= nil then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if string.find(page, &quot;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;розвилка&lt;/ins&gt;)&quot;,0,true) ~= nil then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		return true;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		return true;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff::1.12:old-22:rev-25 --&gt;
&lt;/table&gt;</summary>
		<author><name>Бетярь</name></author>
	</entry>
	<entry>
		<id>https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Disambiguation&amp;diff=22&amp;oldid=prev</id>
		<title>Бетярь: Створена сторінка: local p = {} local mRedirect = require(&#039;Module:Redirect&#039;) local disambiguationTemplates = mw.loadData(&#039;Module:Disambiguation/templates&#039;)  local function capitalize(s) 	-- This function only works on ASCII strings. If your wiki has 	-- disambiguation templates that use Unicode strings, use the commented-out 	-- line instead. Enwiki uses ASCII string manipulation only here to improve 	-- performance. 	-- return s:sub(1, 1):upper() .. s:sub(2, -1) 	return mw....</title>
		<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Disambiguation&amp;diff=22&amp;oldid=prev"/>
		<updated>2023-10-17T20:19:46Z</updated>

		<summary type="html">&lt;p&gt;Створена сторінка: local p = {} local mRedirect = require(&amp;#039;Module:Redirect&amp;#039;) local disambiguationTemplates = mw.loadData(&amp;#039;Module:Disambiguation/templates&amp;#039;)  local function capitalize(s) 	-- This function only works on ASCII strings. If your wiki has 	-- disambiguation templates that use Unicode strings, use the commented-out 	-- line instead. Enwiki uses ASCII string manipulation only here to improve 	-- performance. 	-- return s:sub(1, 1):upper() .. s:sub(2, -1) 	return mw....&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Нова сторінка&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
local mRedirect = require(&amp;#039;Module:Redirect&amp;#039;)&lt;br /&gt;
local disambiguationTemplates = mw.loadData(&amp;#039;Module:Disambiguation/templates&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local function capitalize(s)&lt;br /&gt;
	-- This function only works on ASCII strings. If your wiki has&lt;br /&gt;
	-- disambiguation templates that use Unicode strings, use the commented-out&lt;br /&gt;
	-- line instead. Enwiki uses ASCII string manipulation only here to improve&lt;br /&gt;
	-- performance.&lt;br /&gt;
	-- return s:sub(1, 1):upper() .. s:sub(2, -1)&lt;br /&gt;
	return mw.ustring.upper(mw.ustring.sub(1, 1)) .. mw.ustring.sub(2, -1)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function isDisambiguationTemplate(template)&lt;br /&gt;
	return disambiguationTemplates[capitalize(template)] or false&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.isDisambiguation = function(content)&lt;br /&gt;
	-- false if there is no content&lt;br /&gt;
	if content == nil then&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- redirects are not disambiguation pages&lt;br /&gt;
	if mRedirect.getTargetFromText(content) ~= nil then&lt;br /&gt;
		return false&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- check for disambiguation templates in the content&lt;br /&gt;
	local templateNames = {}&lt;br /&gt;
	for template in string.gmatch(content, &amp;quot;{{%s*([^|}]-)%s*[|}]&amp;quot;) do&lt;br /&gt;
		if isDisambiguationTemplate(template) then&lt;br /&gt;
			return true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- check for magic word&lt;br /&gt;
	if string.find(content, &amp;quot;__DISAMBIG__&amp;quot;, 1, true) ~= nil then&lt;br /&gt;
		return true&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p._isDisambiguationPage = function(page)&lt;br /&gt;
	-- Look &amp;quot;(disambiguation)&amp;quot; in the title&lt;br /&gt;
	if string.find(page, &amp;quot;(disambiguation)&amp;quot;,0,true) ~= nil then&lt;br /&gt;
		return true;&lt;br /&gt;
	end&lt;br /&gt;
	-- Look for disamiguation template in page content&lt;br /&gt;
	local title = mw.title.new(page)&lt;br /&gt;
	if not title then return false end&lt;br /&gt;
	local content = title:getContent()&lt;br /&gt;
	return p.isDisambiguation(content)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Entry points for templates&lt;br /&gt;
p.isDisambiguationPage = function(frame)&lt;br /&gt;
	local title = frame.args[1]&lt;br /&gt;
	return p._isDisambiguationPage(title) and &amp;quot;yes&amp;quot; or &amp;quot;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Бетярь</name></author>
	</entry>
</feed>