<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://bukvica.org/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AWDCommon%2Ftestcases</id>
	<title>Модуль:WDCommon/testcases - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://bukvica.org/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AWDCommon%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://bukvica.org/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:WDCommon/testcases&amp;action=history"/>
	<updated>2026-04-10T22:11:22Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://bukvica.org/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:WDCommon/testcases&amp;diff=238753&amp;oldid=prev</id>
		<title>Karaby: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="https://bukvica.org/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:WDCommon/testcases&amp;diff=238753&amp;oldid=prev"/>
		<updated>2025-07-27T15:38: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;Версия от 15:38, 27 июля 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key wiki:diff:1.41:old-238752:rev-238753 --&gt;
&lt;/table&gt;</summary>
		<author><name>Karaby</name></author>
	</entry>
	<entry>
		<id>https://bukvica.org/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:WDCommon/testcases&amp;diff=238752&amp;oldid=prev</id>
		<title>Буквица&gt;D6194c-1cc: Обновление путей после публикации</title>
		<link rel="alternate" type="text/html" href="https://bukvica.org/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:WDCommon/testcases&amp;diff=238752&amp;oldid=prev"/>
		<updated>2022-12-04T20:20:47Z</updated>

		<summary type="html">&lt;p&gt;Обновление путей после публикации&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local suite = require(&amp;#039;Модуль:ScribuntoUnit&amp;#039;):new()&lt;br /&gt;
local wikidata = require(&amp;#039;Модуль:WDCommon&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local saganBook = &amp;#039;Q2482106&amp;#039;&lt;br /&gt;
local englishEntity = &amp;#039;Q1860&amp;#039;&lt;br /&gt;
&lt;br /&gt;
function suite:test_name()&lt;br /&gt;
	local name&lt;br /&gt;
&lt;br /&gt;
	name = wikidata.name(saganBook)&lt;br /&gt;
	self:assertEquals(&amp;#039;The Demon-Haunted World&amp;#039;, name)&lt;br /&gt;
&lt;br /&gt;
	name = wikidata.name(saganBook, &amp;#039;ru&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;The Demon-Haunted World&amp;#039;, name)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function suite:test_short()&lt;br /&gt;
	local short&lt;br /&gt;
&lt;br /&gt;
	short = wikidata.short(englishEntity, &amp;#039;ru&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;английский&amp;#039;, short)&lt;br /&gt;
&lt;br /&gt;
	short = wikidata.short(englishEntity, &amp;#039;en&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;English&amp;#039;, short)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function suite:test_abbrBiblio()&lt;br /&gt;
	local abbr&lt;br /&gt;
&lt;br /&gt;
	local editorEntity = &amp;#039;Q1607826&amp;#039;&lt;br /&gt;
	abbr = wikidata.abbrBiblio(editorEntity, &amp;#039;ru&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;ред.&amp;#039;, abbr)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function suite:test_unit()&lt;br /&gt;
	local unit&lt;br /&gt;
&lt;br /&gt;
	unit = wikidata.unit(&amp;#039;Q11574&amp;#039;, &amp;#039;ru&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;с&amp;#039;, unit)&lt;br /&gt;
&lt;br /&gt;
	unit = wikidata.unit(&amp;#039;Q11574&amp;#039;, &amp;#039;en&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;s&amp;#039;, unit)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function suite:test_urlMask()&lt;br /&gt;
	local mask&lt;br /&gt;
&lt;br /&gt;
	mask = wikidata.urlMask(&amp;#039;P356&amp;#039;, &amp;#039;ru&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;https://doi.org/$1&amp;#039;, mask)&lt;br /&gt;
&lt;br /&gt;
	mask = wikidata.urlMask(&amp;#039;P356&amp;#039;, &amp;#039;en&amp;#039;)&lt;br /&gt;
	self:assertEquals(&amp;#039;https://doi.org/$1&amp;#039;, mask)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return suite&lt;/div&gt;</summary>
		<author><name>Буквица&gt;D6194c-1cc</name></author>
	</entry>
</feed>