<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ASelectServiceAward</id>
	<title>Module:SelectServiceAward - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ASelectServiceAward"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:SelectServiceAward&amp;action=history"/>
	<updated>2026-11-01T20:08:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Module:SelectServiceAward&amp;diff=130504&amp;oldid=prev</id>
		<title>Wikipedia&gt;Jkudlick: adding Most Sagacious Editor; now 39 total incremental levels</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:SelectServiceAward&amp;diff=130504&amp;oldid=prev"/>
		<updated>2025-08-10T15:31:24Z</updated>

		<summary type="html">&lt;p&gt;adding Most Sagacious Editor; now 39 total incremental levels&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;
&lt;br /&gt;
--A table with the edit requirements for each stage (descending order)&lt;br /&gt;
local editreq = {235000, 205000, 175000, 150000, 132000, 114000, 96000, 78000, 60000, 51000, 42000, 33000, 28500, 24000, 20000, 16000, 12000, 8000, 6000, 5500, 5000, 4500,&lt;br /&gt;
	4000, 3500, 3000, 2500, 2000, 1750, 1500, 1250, 1000, 800, 600, 400, 200, 150, 100, 50, 1}&lt;br /&gt;
&lt;br /&gt;
--A table with the account age requirements for each stage (descending order)&lt;br /&gt;
local edittime = {&amp;#039;24 years&amp;#039;, &amp;#039;22 years&amp;#039;, &amp;#039;20 years&amp;#039;, &amp;#039;18 years&amp;#039;, &amp;#039;16 years&amp;#039;, &amp;#039;14 years&amp;#039;, &amp;#039;12 years&amp;#039;, &amp;#039;10 years&amp;#039;, &amp;#039;8 years&amp;#039;, &amp;#039;7 years&amp;#039;, &amp;#039;6 years&amp;#039;, &amp;#039;5 years&amp;#039;, &amp;#039;4 years + 6 months&amp;#039;, &lt;br /&gt;
	&amp;#039;4 years&amp;#039;, &amp;#039;3 years + 6 months&amp;#039;, &amp;#039;3 years&amp;#039;, &amp;#039;2 years + 6 months&amp;#039;, &amp;#039;2 years&amp;#039;, &amp;#039;1 year + 6 months&amp;#039;, &amp;#039;1 year + 4 months + 15 days&amp;#039;, &amp;#039;1 year + 3 months&amp;#039;, &lt;br /&gt;
	&amp;#039;1 year + 1 month + 15 days&amp;#039;, &amp;#039;1 year&amp;#039;, &amp;#039;10 months + 15 days&amp;#039;, &amp;#039;9 months&amp;#039;, &amp;#039;7 months + 15 days&amp;#039;, &amp;#039;6 months&amp;#039;, &amp;#039;5 months + 8 days&amp;#039;, &amp;#039;4 months + 15 days&amp;#039;, &lt;br /&gt;
	&amp;#039;3 months + 23 days&amp;#039;, &amp;#039;3 months&amp;#039;, &amp;#039;2 months + 15 days&amp;#039;, &amp;#039;2 months&amp;#039;, &amp;#039;1 month + 15 days&amp;#039;, &amp;#039;1 month&amp;#039;, &amp;#039;23 days&amp;#039;, &amp;#039;15 days&amp;#039;, &amp;#039;8 days&amp;#039;, &amp;#039;1 day&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local numedits = tonumber(frame.args.edits)&lt;br /&gt;
	local date = frame.args.date&lt;br /&gt;
	local noincremental = frame.args.noinc&lt;br /&gt;
	local numpos = 0&lt;br /&gt;
	&lt;br /&gt;
	local time = tonumber(frame:callParserFunction(&amp;#039;#time&amp;#039;, &amp;#039;U&amp;#039;))&lt;br /&gt;
	&lt;br /&gt;
	for i=1, 39 do&lt;br /&gt;
		if numedits &amp;gt;= editreq[i] and numpos == 0 then&lt;br /&gt;
			local timestr = date .. &amp;quot; + &amp;quot; .. edittime[i]&lt;br /&gt;
			local acctime = tonumber(frame:callParserFunction(&amp;#039;#time&amp;#039;, &amp;#039;U&amp;#039;, timestr))&lt;br /&gt;
			if time &amp;gt;= acctime then&lt;br /&gt;
				numpos = (40 - i)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if noincremental == &amp;quot;yes&amp;quot; and numpos &amp;gt; 0 and numpos &amp;lt;= 20 then&lt;br /&gt;
		local counter = math.floor( ( numpos - 1 ) / 4 )&lt;br /&gt;
		numpos = ( 4 * counter ) + 1&lt;br /&gt;
	end&lt;br /&gt;
	return (numpos)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Jkudlick</name></author>
	</entry>
</feed>