<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://req.reincarnatiopedia.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ARpMainPage</id>
	<title>Module:RpMainPage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://req.reincarnatiopedia.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ARpMainPage"/>
	<link rel="alternate" type="text/html" href="https://req.reincarnatiopedia.com/w/index.php?title=Module:RpMainPage&amp;action=history"/>
	<updated>2026-09-25T14:48:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://req.reincarnatiopedia.com/w/index.php?title=Module:RpMainPage&amp;diff=4882&amp;oldid=prev</id>
		<title>RPBot: QA 25.09: заглавная страница графа на языке читателя</title>
		<link rel="alternate" type="text/html" href="https://req.reincarnatiopedia.com/w/index.php?title=Module:RpMainPage&amp;diff=4882&amp;oldid=prev"/>
		<updated>2026-09-24T22:10:43Z</updated>

		<summary type="html">&lt;p&gt;QA 25.09: заглавная страница графа на языке читателя&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:10, 24 September 2026&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-l53&quot;&gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&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;	local m = msgs(code)&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;	local m = msgs(code)&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;	local ch = chain(code)&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;	local ch = chain(code)&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;	local n = function(ns) return &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;frame&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;preprocess&lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;{{PAGESINNAMESPACE:&#039; &lt;/del&gt;.. ns &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.. &#039;}}&#039;&lt;/del&gt;) end&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	local lang = mw.language.new(code)&lt;/ins&gt;&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;	local stats = (m.stats or &#039;Items: $1 · Properties: $2 · Lexemes: $3&#039;):gsub(&#039;%$1&#039;, n(120)):gsub(&#039;%$2&#039;, n(122)):gsub(&#039;%$3&#039;, n(146))&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;	local n = function(ns) return &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lang&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;formatNum&lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.site&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;stats&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pagesInNamespace(&lt;/ins&gt;ns&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;) end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;	local stats = (m.stats or &#039;Items: $1 · Properties: $2 · Lexemes: $3&#039;):gsub(&#039;%$1&#039;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;n(120&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;):gsub(&#039;%%&#039;,&#039;%%%%&#039;)&lt;/ins&gt;)):gsub(&#039;%$2&#039;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;n(122&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;):gsub(&#039;%%&#039;,&#039;%%%%&#039;)&lt;/ins&gt;)):gsub(&#039;%$3&#039;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;n(146&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;):gsub(&#039;%%&#039;,&#039;%%%%&#039;)&lt;/ins&gt;))&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;	local site = &amp;#039;https://&amp;#039; .. code .. &amp;#039;.reincarnatiopedia.com/&amp;#039;&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;	local site = &amp;#039;https://&amp;#039; .. code .. &amp;#039;.reincarnatiopedia.com/&amp;#039;&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;	local out = {&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;	local out = {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>RPBot</name></author>
	</entry>
	<entry>
		<id>https://req.reincarnatiopedia.com/w/index.php?title=Module:RpMainPage&amp;diff=4881&amp;oldid=prev</id>
		<title>RPBot: QA 25.09: заглавная страница графа на языке читателя</title>
		<link rel="alternate" type="text/html" href="https://req.reincarnatiopedia.com/w/index.php?title=Module:RpMainPage&amp;diff=4881&amp;oldid=prev"/>
		<updated>2026-09-24T22:10:30Z</updated>

		<summary type="html">&lt;p&gt;QA 25.09: заглавная страница графа на языке читателя&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Заглавная страница графа Реинкарнациопедии на языке читателя (QA 25.09.2026).&lt;br /&gt;
-- Строки: Module:RpMainPage/i18n (316 языков сайтов), ярлыки айтемов — из самого графа с цепочкой запасных языков.&lt;br /&gt;
local p = {}&lt;br /&gt;
local I18N = mw.loadData(&amp;#039;Module:RpMainPage/i18n&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local CONCEPTS = {&amp;#039;Q2&amp;#039;,&amp;#039;Q3&amp;#039;,&amp;#039;Q4&amp;#039;,&amp;#039;Q96&amp;#039;,&amp;#039;Q82&amp;#039;,&amp;#039;Q83&amp;#039;,&amp;#039;Q14&amp;#039;,&amp;#039;Q98&amp;#039;,&amp;#039;Q99&amp;#039;,&amp;#039;Q81&amp;#039;,&amp;#039;Q6&amp;#039;,&amp;#039;Q5&amp;#039;,&amp;#039;Q101&amp;#039;,&amp;#039;Q9&amp;#039;,&amp;#039;Q40&amp;#039;}&lt;br /&gt;
local PEOPLE = {&amp;#039;Q86&amp;#039;,&amp;#039;Q85&amp;#039;,&amp;#039;Q1&amp;#039;,&amp;#039;Q12&amp;#039;,&amp;#039;Q13&amp;#039;,&amp;#039;Q34&amp;#039;,&amp;#039;Q21&amp;#039;,&amp;#039;Q24&amp;#039;,&amp;#039;Q47&amp;#039;,&amp;#039;Q17&amp;#039;,&amp;#039;Q38&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
local function chain(code)&lt;br /&gt;
	local c = {code}&lt;br /&gt;
	for _, f in ipairs(mw.language.getFallbacksFor(code)) do c[#c + 1] = f end&lt;br /&gt;
	c[#c + 1] = &amp;#039;mul&amp;#039;; c[#c + 1] = &amp;#039;en&amp;#039;&lt;br /&gt;
	return c&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function userlang(frame)&lt;br /&gt;
	local code = frame:preprocess(&amp;#039;{{USERLANGUAGE}}&amp;#039;)&lt;br /&gt;
	if not code or code == &amp;#039;&amp;#039; or code:find(&amp;#039;{&amp;#039;) then code = &amp;#039;en&amp;#039; end&lt;br /&gt;
	return code&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function msgs(code)&lt;br /&gt;
	local out = {}&lt;br /&gt;
	for _, c in ipairs(chain(code)) do&lt;br /&gt;
		local t = I18N[c]&lt;br /&gt;
		if t then for k, v in pairs(t) do if out[k] == nil then out[k] = v end end end&lt;br /&gt;
	end&lt;br /&gt;
	return out&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function label(id, ch)&lt;br /&gt;
	for _, c in ipairs(ch) do&lt;br /&gt;
		local l = mw.wikibase.getLabelByLang(id, c)&lt;br /&gt;
		if l and l ~= &amp;#039;&amp;#039; then return l end&lt;br /&gt;
	end&lt;br /&gt;
	return id&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function list(ids, ch)&lt;br /&gt;
	local r = {}&lt;br /&gt;
	for _, id in ipairs(ids) do&lt;br /&gt;
		r[#r + 1] = &amp;#039;* [[Item:&amp;#039; .. id .. &amp;#039;|&amp;#039; .. label(id, ch) .. &amp;#039;]] &amp;lt;small style=&amp;quot;color:#72777d&amp;quot;&amp;gt;&amp;#039; .. id .. &amp;#039;&amp;lt;/small&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat(r, &amp;#039;\n&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.title(frame)&lt;br /&gt;
	return msgs(userlang(frame)).title or &amp;#039;Reincarnatiopedia knowledge graph&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local code = userlang(frame)&lt;br /&gt;
	local m = msgs(code)&lt;br /&gt;
	local ch = chain(code)&lt;br /&gt;
	local n = function(ns) return frame:preprocess(&amp;#039;{{PAGESINNAMESPACE:&amp;#039; .. ns .. &amp;#039;}}&amp;#039;) end&lt;br /&gt;
	local stats = (m.stats or &amp;#039;Items: $1 · Properties: $2 · Lexemes: $3&amp;#039;):gsub(&amp;#039;%$1&amp;#039;, n(120)):gsub(&amp;#039;%$2&amp;#039;, n(122)):gsub(&amp;#039;%$3&amp;#039;, n(146))&lt;br /&gt;
	local site = &amp;#039;https://&amp;#039; .. code .. &amp;#039;.reincarnatiopedia.com/&amp;#039;&lt;br /&gt;
	local out = {&lt;br /&gt;
		&amp;#039;&amp;lt;div class=&amp;quot;rp-main&amp;quot; style=&amp;quot;max-width:60em&amp;quot;&amp;gt;&amp;#039;,&lt;br /&gt;
		&amp;#039;&amp;lt;p style=&amp;quot;font-size:110%&amp;quot;&amp;gt;&amp;#039; .. m.intro .. &amp;#039;&amp;lt;/p&amp;gt;&amp;#039;,&lt;br /&gt;
		&amp;quot;&amp;lt;p&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;quot; .. stats .. &amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/p&amp;gt;&amp;quot;,&lt;br /&gt;
		&amp;#039;&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;gap:0 2.5em&amp;quot;&amp;gt;&amp;#039;,&lt;br /&gt;
		&amp;#039;&amp;lt;div style=&amp;quot;flex:1 1 18em&amp;quot;&amp;gt;\n=== &amp;#039; .. m.concepts .. &amp;#039; ===\n&amp;#039; .. list(CONCEPTS, ch) .. &amp;#039;\n&amp;lt;/div&amp;gt;&amp;#039;,&lt;br /&gt;
		&amp;#039;&amp;lt;div style=&amp;quot;flex:1 1 18em&amp;quot;&amp;gt;\n=== &amp;#039; .. m.people .. &amp;#039; ===\n&amp;#039; .. list(PEOPLE, ch) .. &amp;#039;\n&amp;lt;/div&amp;gt;&amp;#039;,&lt;br /&gt;
		&amp;#039;&amp;lt;/div&amp;gt;&amp;#039;,&lt;br /&gt;
		&amp;#039;\n=== &amp;#039; .. m.browse .. &amp;#039; ===&amp;#039;,&lt;br /&gt;
		&amp;#039;* [{{fullurl:Special:AllPages|namespace=120}} &amp;#039; .. m.allitems .. &amp;#039;]&amp;#039;,&lt;br /&gt;
		&amp;#039;* [{{fullurl:Special:AllPages|namespace=122}} &amp;#039; .. m.allprops .. &amp;#039;]&amp;#039;,&lt;br /&gt;
		&amp;#039;* [{{fullurl:Special:AllPages|namespace=146}} &amp;#039; .. m.alllexemes .. &amp;#039;]&amp;#039;,&lt;br /&gt;
		&amp;#039;* [[Special:Search|&amp;#039; .. m.search .. &amp;#039;]]&amp;#039;,&lt;br /&gt;
		&amp;#039;&amp;lt;/div&amp;gt;&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
	return frame:preprocess(table.concat(out, &amp;#039;\n&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>RPBot</name></author>
	</entry>
</feed>