<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.endmyopia.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AScience_redirect</id>
	<title>Module:Science redirect - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.endmyopia.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AScience_redirect"/>
	<link rel="alternate" type="text/html" href="https://wiki.endmyopia.org/index.php?title=Module:Science_redirect&amp;action=history"/>
	<updated>2026-05-03T06:25:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.endmyopia.org/index.php?title=Module:Science_redirect&amp;diff=10692&amp;oldid=prev</id>
		<title>Viceroy Sam: 1 revision imported: Module:Science redirect Module:Science redirect/conf Module:Tfd links Template:Tfd links</title>
		<link rel="alternate" type="text/html" href="https://wiki.endmyopia.org/index.php?title=Module:Science_redirect&amp;diff=10692&amp;oldid=prev"/>
		<updated>2020-06-12T11:23:20Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Module:Science redirect Module:Science redirect/conf Module:Tfd links Template:Tfd links&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 11:23, 12 June 2020&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key jakeendmy_mw1720-mwnr_:diff::1.12:old-10691:rev-10692 --&gt;
&lt;/table&gt;</summary>
		<author><name>Viceroy Sam</name></author>
	</entry>
	<entry>
		<id>https://wiki.endmyopia.org/index.php?title=Module:Science_redirect&amp;diff=10691&amp;oldid=prev</id>
		<title>wiki&gt;MusikAnimal: Protected &quot;Module:Science redirect&quot;: High-risk module ([Edit=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wiki.endmyopia.org/index.php?title=Module:Science_redirect&amp;diff=10691&amp;oldid=prev"/>
		<updated>2017-10-10T17:19:53Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Module:Science_redirect&quot; title=&quot;Module:Science redirect&quot;&gt;Module:Science redirect&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/index.php?title=Endmyopia:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Endmyopia:High-risk templates (page does not exist)&quot;&gt;High-risk module&lt;/a&gt; ([Edit=Require template editor access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local conf = require( &amp;quot;Module:Science redirect/conf&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.R(frame)&lt;br /&gt;
	local template = mw.ustring.gsub(frame.args[1], ' ', '_')&lt;br /&gt;
	if conf.templates[template] then&lt;br /&gt;
		return p._main(frame, conf.templates[template].name, conf.templates[template].from, conf.templates[template].to, conf.templates[template].category, conf.templates[template].info, conf.templates[template].removeA)&lt;br /&gt;
	elseif template then&lt;br /&gt;
		return '&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;The template '..template..'is not valid.&amp;lt;/span&amp;gt;\n'&lt;br /&gt;
	else&lt;br /&gt;
		return '&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;No template specified&amp;lt;/span&amp;gt;\n'&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(frame, name, from, to, category, info, removeA)&lt;br /&gt;
	--initialize variables&lt;br /&gt;
	local args = frame:getParent().args&lt;br /&gt;
	local singleNoun, pluralNoun = '', ''&lt;br /&gt;
	local outStr = ''&lt;br /&gt;
	&lt;br /&gt;
	--Check for known parameter 1&lt;br /&gt;
	local cat = mw.ustring.match(mw.ustring.lower(args[1] or 'none'), '^(.-)s?$')&lt;br /&gt;
	if conf.cats[cat] then singleNoun, pluralNoun = conf.cats[cat][1], conf.cats[cat][2] else&lt;br /&gt;
		singleNoun, pluralNoun = 'an organism'&lt;br /&gt;
		outStr = '[[Category:Redirects '..category..' using unknown values for parameter 1]]'&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	--strip article from singleNoun if removeA is true&lt;br /&gt;
	if removeA == true then&lt;br /&gt;
		if singleNoun == 'an organism' then singleNoun = '' else singleNoun = (mw.ustring.match(singleNoun, '^an? (.*)$') or singleNoun) end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	--support alternative indications for printworthy&lt;br /&gt;
	if args[2] == 'unprintworthy' or args['unprintworthy'] == 'true' then args['printworthy'] = 'no' end&lt;br /&gt;
	&lt;br /&gt;
	--build template arguments&lt;br /&gt;
	local main_category = 'Redirects '..category&lt;br /&gt;
	if pluralNoun then main_category = main_category..' of '..pluralNoun end&lt;br /&gt;
	local outArgs = {&lt;br /&gt;
		name = mw.ustring.gsub(name, '$1', singleNoun),&lt;br /&gt;
		from = mw.ustring.gsub(mw.ustring.gsub(from, '$1', singleNoun), '$2', (pluralNoun or 'organisms')),&lt;br /&gt;
		to = mw.ustring.gsub(mw.ustring.gsub(to, '$1', singleNoun), '$2', (pluralNoun or 'organisms')),&lt;br /&gt;
		['main category'] = main_category,&lt;br /&gt;
		printworthy = (args['printworthy'] or 'yes'),&lt;br /&gt;
		info = info,&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	--build output string&lt;br /&gt;
	if frame.args['debug'] == 'true' then&lt;br /&gt;
		local debugStr = '{{Redirect template&amp;lt;br /&amp;gt;\n'&lt;br /&gt;
		for k,v in pairs( outArgs ) do&lt;br /&gt;
			debugStr = debugStr..'| '..k..' = '..v..'&amp;lt;br /&amp;gt;\n'&lt;br /&gt;
		end&lt;br /&gt;
		outStr = debugStr..'}}'..frame:extensionTag{ name = 'nowiki', content = outStr}&lt;br /&gt;
	else&lt;br /&gt;
		outStr = frame:expandTemplate{ title = 'Redirect template', args = outArgs }..outStr&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return outStr&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wiki&gt;MusikAnimal</name></author>
	</entry>
</feed>