<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.agency/index.php?action=history&amp;feed=atom&amp;title=Module%3ARfD</id>
		<title>Module:RfD - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.agency/index.php?action=history&amp;feed=atom&amp;title=Module%3ARfD"/>
		<link rel="alternate" type="text/html" href="https://wiki.agency/index.php?title=Module:RfD&amp;action=history"/>
		<updated>2026-07-15T18:42:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://wiki.agency/index.php?title=Module:RfD&amp;diff=552&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.agency/index.php?title=Module:RfD&amp;diff=552&amp;oldid=prev"/>
				<updated>2018-10-24T22:40:51Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:40, 24 October 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.agency/index.php?title=Module:RfD&amp;diff=551&amp;oldid=prev</id>
		<title>Galobtter: support &quot;days = &quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.agency/index.php?title=Module:RfD&amp;diff=551&amp;oldid=prev"/>
				<updated>2018-09-24T12:39:25Z</updated>
		
		<summary type="html">&lt;p&gt;support &amp;quot;days = &amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;#039;Module:No globals&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local getTargetFromText = require(&amp;#039;Module:Redirect&amp;#039;).getTargetFromText&lt;br /&gt;
local messageBox&lt;br /&gt;
&lt;br /&gt;
local mboxText = &amp;quot;%s&amp;#039;&amp;#039;&amp;#039;The purpose of this redirect is currently being discussed by the Wikipedia community.&amp;quot;&lt;br /&gt;
	.. &amp;quot; The outcome of the discussion may result in a change of this page, or possibly its deletion in accordance with Wikipedia&amp;#039;s [[Wikipedia:Deletion policy|deletion policy]].&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&amp;quot;&lt;br /&gt;
	.. &amp;quot; Please share your thoughts on the matter at &amp;#039;&amp;#039;&amp;#039;[[Wikipedia:Redirects for discussion/Log/%s %s %s#%s|this redirect&amp;#039;s entry]]&amp;#039;&amp;#039;&amp;#039; on the [[Wikipedia:Redirects for discussion|Redirects for discussion]] page.&amp;lt;br /&amp;gt;&amp;quot;&lt;br /&gt;
	.. &amp;quot;  &amp;#039;&amp;#039;&amp;#039;Click on the link below&amp;#039;&amp;#039;&amp;#039; to go to the current destination page.&amp;lt;br /&amp;gt;&amp;quot;&lt;br /&gt;
	.. &amp;quot;&amp;lt;small&amp;gt;Please notify the good-faith creator and any main contributors of the redirect by placing &amp;lt;code&amp;gt;&amp;amp;#123;&amp;amp;#123;[[Wikipedia:Substitution|subst]]:[[Template:RFDNote|RFDNote]]&amp;amp;#124;%s&amp;amp;#125;&amp;amp;#125; &amp;amp;#126;&amp;amp;#126;&amp;amp;#126;&amp;amp;#126;&amp;lt;/code&amp;gt; on their talk page.&amp;lt;/small&amp;gt;&amp;quot;&lt;br /&gt;
local errorMessage = &amp;#039;&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;Error: Unable to determine the redirect\&amp;#039;s target. If this page is a soft redirect, then this error can be ignored. Otherwise, please make sure that [[WP:RFD#HOWTO|the instructions for placing this tag]] were followed correctly, in particular that the redirect\&amp;#039;s old content was passed in the &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt; parameter.&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&amp;#039;&lt;br /&gt;
local deleteReason = &amp;#039;[[Wikipedia:Redirects for discussion]] debate closed as delete&amp;#039;&lt;br /&gt;
local messageOnTransclusions = &amp;#039;&amp;lt;div class=&amp;quot;boilerplate metadata plainlinks&amp;quot; id=&amp;quot;rfd-t&amp;quot; style=&amp;quot;&amp;#039;&lt;br /&gt;
    .. &amp;#039;background-color: transparent; padding: 0; font-size:xx-small; color:#000000; text-align:&amp;#039;&lt;br /&gt;
    .. &amp;#039;center; border-bottom:1px solid #AAAAAA;&amp;quot;&amp;gt;&amp;amp;lsaquo;The [[Wikipedia:Template namespace|template]]&amp;#039;&lt;br /&gt;
    .. &amp;#039; below is included via a [[Wikipedia:Redirect|redirect]] that has been proposed for deletion. &amp;#039;&lt;br /&gt;
    .. &amp;#039;See [[Wikipedia:redirects for discussion|redirects for discussion]] to help reach a consensus&amp;#039; &lt;br /&gt;
    .. &amp;#039; on what to do.&amp;amp;rsaquo;&amp;lt;/div &amp;gt;&amp;#039;&lt;br /&gt;
local function makeRfdNotice(args)&lt;br /&gt;
	local currentTitle = mw.title.getCurrentTitle()&lt;br /&gt;
	if not messageBox then&lt;br /&gt;
		messageBox = require(&amp;#039;Module:Message box&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
	local discussionPage = args[1] and mw.text.trim(args[1])&lt;br /&gt;
	if discussionPage == &amp;#039;&amp;#039; then&lt;br /&gt;
		discussionPage = nil&lt;br /&gt;
	end&lt;br /&gt;
	local target = getTargetFromText(args.content)&lt;br /&gt;
	local isError = not target or not mw.title.new(target)&lt;br /&gt;
	local category&lt;br /&gt;
	if args.category then&lt;br /&gt;
		category = args.category&lt;br /&gt;
	elseif args.month and args.year then&lt;br /&gt;
		category = string.format(&amp;#039;[[Category:Redirects for discussion from %s %s|%s]][[Category:All redirects for discussion|%s]]&amp;#039;, args.month, args.year, currentTitle.text, currentTitle.text)&lt;br /&gt;
	else&lt;br /&gt;
		category = string.format(&amp;#039;[[Category:Redirects for discussion|%s]][[Category:All redirects for discussion|%s]]&amp;#039;, currentTitle.text, currentTitle.text)&lt;br /&gt;
	end&lt;br /&gt;
	if category then category = category..&amp;#039;[[Category:Temporary maintenance holdings]]&amp;#039; end&lt;br /&gt;
	return string.format(&amp;#039;%s&amp;lt;span id=&amp;quot;delete-reason&amp;quot; style=&amp;quot;display:none;&amp;quot;&amp;gt;%s&amp;lt;/span&amp;gt;%s%s&amp;#039;,&lt;br /&gt;
		messageBox.main(&amp;#039;mbox&amp;#039;, {&lt;br /&gt;
			type = &amp;#039;delete&amp;#039;,&lt;br /&gt;
			image = &amp;#039;none&amp;#039;,&lt;br /&gt;
			text = string.format(mboxText, isError and errorMessage or &amp;#039;&amp;#039;, args.year, args.month, args.day, discussionPage or currentTitle.prefixedText, mw.text.nowiki(currentTitle.prefixedText))&lt;br /&gt;
		}),&lt;br /&gt;
		mw.uri.encode(deleteReason),&lt;br /&gt;
		category,&lt;br /&gt;
		isError and &amp;#039;[[Category:RfD errors]]&amp;#039; or &amp;#039;&amp;#039;&lt;br /&gt;
	)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p[&amp;#039;&amp;#039;] = function(frame)&lt;br /&gt;
	if not frame.args.content or mw.text.trim(frame.args.content) == &amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;Error: No content was provided. The original text of the page (the #REDIRECT line and any templates) must be placed inside of the content parameter.[[Category:RfD errors]]&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	local pframe = frame:getParent()&lt;br /&gt;
	if pframe:preprocess(&amp;#039;&amp;lt;includeonly&amp;gt;1&amp;lt;/includeonly&amp;gt;&amp;#039;) == &amp;#039;1&amp;#039; then&lt;br /&gt;
		-- We&amp;#039;re being transcluded, so display the content of our target.&lt;br /&gt;
		local target = getTargetFromText(frame.args.content)&lt;br /&gt;
		if target then&lt;br /&gt;
			target = mw.title.new(target)&lt;br /&gt;
		end&lt;br /&gt;
		if target and not target.isRedirect and target ~= pframe:getTitle() then&lt;br /&gt;
			-- We should actually be calling expandTemplate on the grandparent rather than on the parent, but we can&amp;#039;t do that yet&lt;br /&gt;
			-- Since we don&amp;#039;t have grandparent access, though, it means the thing we&amp;#039;re calling doesn&amp;#039;t either, so it doesn&amp;#039;t really matter yet&lt;br /&gt;
			local parsedTarget = pframe:expandTemplate{title = &amp;#039;:&amp;#039; .. target.prefixedText, args = pframe.args}&lt;br /&gt;
			if frame.args.showontransclusion and not mw.isSubsting() then&lt;br /&gt;
				return messageOnTransclusions .. parsedTarget&lt;br /&gt;
			else&lt;br /&gt;
				return parsedTarget&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- We&amp;#039;re not being transcluded, or we can&amp;#039;t figure out how to display our target.&lt;br /&gt;
	-- Display the RfD banner.&lt;br /&gt;
	return makeRfdNotice(frame.args) .. &amp;#039;\n&amp;#039; .. frame.args.content&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local substText = &amp;quot;{{&amp;lt;includeonly&amp;gt;safesubst:&amp;lt;/includeonly&amp;gt;#invoke:RfD||%s%s|%s%s\n&amp;quot;&lt;br /&gt;
	.. &amp;quot;&amp;lt;!-- The above content is generated by {{subst:rfd}}. --&amp;gt;\n&amp;lt;!-- End of RFD message. Don&amp;#039;t edit anything above here, but feel free to edit below here. --&amp;gt;|content=\n%s\n&amp;quot;&lt;br /&gt;
	.. &amp;quot;&amp;lt;!-- Don&amp;#039;t add anything after this line unless you&amp;#039;re drafting a disambiguation page or article to replace the redirect. --&amp;gt;\n}}&amp;quot;&lt;br /&gt;
local dateText = &amp;#039;month = %B\n|day = %e\n|year = %Y\n|time = %R\n|timestamp = %Y%m%d%H%M%S&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- called during subst when the template is initially placed on the page&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local titleText&lt;br /&gt;
	local pframe = frame:getParent()&lt;br /&gt;
	local pargs = pframe.args&lt;br /&gt;
	local Date&lt;br /&gt;
	if pargs.days then&lt;br /&gt;
		Date = os.date(dateText, os.time() - 86400*pargs.days)&lt;br /&gt;
	else&lt;br /&gt;
		Date = os.date(dateText)&lt;br /&gt;
	end&lt;br /&gt;
	local retval = string.format(substText, pargs.FULLPAGENAME or pargs[1] or &amp;#039;&amp;#039;, pargs.showontransclusion and &amp;#039;|showontransclusion=1&amp;#039; or &amp;#039;&amp;#039;, Date, pframe:getTitle() == mw.title.getCurrentTitle().prefixedText and &amp;#039;|category=&amp;#039; or &amp;#039;&amp;#039;, pargs.content or &amp;#039;&amp;#039;)&lt;br /&gt;
	if mw.isSubsting() then&lt;br /&gt;
		return retval&lt;br /&gt;
	else&lt;br /&gt;
		return frame:expandTemplate{title = &amp;#039;Template:Error:must be substituted&amp;#039;, args = {&amp;#039;rfd&amp;#039;}} .. frame:preprocess(retval)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Galobtter</name></author>	</entry>

	</feed>