<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ASection_Index</id>
	<title>Module:Section Index - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ASection_Index"/>
	<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=Module:Section_Index&amp;action=history"/>
	<updated>2026-04-06T19:50:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=Module:Section_Index&amp;diff=12214&amp;oldid=prev</id>
		<title>Salty Nori: copied from genshin impact wiki</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=Module:Section_Index&amp;diff=12214&amp;oldid=prev"/>
		<updated>2024-01-09T03:35:15Z</updated>

		<summary type="html">&lt;p&gt;copied from genshin impact wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
local lib = require(&amp;#039;Module:Feature/Draft&amp;#039;)&lt;br /&gt;
local search = require(&amp;#039;Module:TableTools&amp;#039;).includes&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {&lt;br /&gt;
		parentFirst = true,&lt;br /&gt;
		wrappers = {&amp;#039;Template:Section Index&amp;#039;}&lt;br /&gt;
	})&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	args[2] = args[2]:gsub(&amp;#039;_&amp;#039;,&amp;#039; &amp;#039;)&lt;br /&gt;
	local title = mw.title.makeTitle(&amp;#039;&amp;#039;,args[1],args[2])&lt;br /&gt;
	local pageContent = title:getContent():gsub(&amp;#039;&amp;lt;!%-%-.-%-%-&amp;gt;&amp;#039;,&amp;#039;&amp;#039;):gsub(&amp;#039;^.-(==+)%s*&amp;#039;,&amp;#039;&amp;#039;,1):gsub(&amp;#039;\n.-(==+)%s*&amp;#039;,&amp;#039;%1&amp;#039;):gsub(&amp;#039;%s*(==+)\n.-$&amp;#039;,&amp;#039;&amp;#039;):gsub(&amp;#039;%s*==+%s*&amp;#039;,&amp;#039;//&amp;#039;)&lt;br /&gt;
	--mw.logObject(pageContent)&lt;br /&gt;
	assert(pageContent,&amp;#039;Page does not exist&amp;#039;)&lt;br /&gt;
	args.sections = lib.split(pageContent, &amp;#039;//&amp;#039; )&lt;br /&gt;
	-- mw.logObject(args.sections,&amp;#039;Before&amp;#039;)&lt;br /&gt;
	if #args.sections &amp;gt; 1 then&lt;br /&gt;
		for i,s in ipairs(args.sections) do&lt;br /&gt;
			local repeated = 2&lt;br /&gt;
			for I = i+1,#args.sections do&lt;br /&gt;
				if args.sections[I] == s then&lt;br /&gt;
					args.sections[I] = args.sections[I] .. &amp;#039; &amp;#039; .. tostring(repeated)&lt;br /&gt;
					repeated = repeated + 1&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- mw.logObject(args.sections,&amp;#039;After&amp;#039;)&lt;br /&gt;
	for k,v in ipairs(args.sections) do&lt;br /&gt;
		if v == args[2] then&lt;br /&gt;
			return tostring(k)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Salty Nori</name></author>
	</entry>
</feed>