<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://austenasia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ADeprecated</id>
	<title>Module:Deprecated - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://austenasia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ADeprecated"/>
	<link rel="alternate" type="text/html" href="https://austenasia.wiki/index.php?title=Module:Deprecated&amp;action=history"/>
	<updated>2026-10-09T08:16:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://austenasia.wiki/index.php?title=Module:Deprecated&amp;diff=846&amp;oldid=prev</id>
		<title>Austenasia: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://austenasia.wiki/index.php?title=Module:Deprecated&amp;diff=846&amp;oldid=prev"/>
		<updated>2026-09-18T17:39:12Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:39, 18 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&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>Austenasia</name></author>
	</entry>
	<entry>
		<id>https://austenasia.wiki/index.php?title=Module:Deprecated&amp;diff=845&amp;oldid=prev</id>
		<title>Module:Fallbacklist&gt;Awesome Aasim at 19:00, 27 May 2025</title>
		<link rel="alternate" type="text/html" href="https://austenasia.wiki/index.php?title=Module:Deprecated&amp;diff=845&amp;oldid=prev"/>
		<updated>2025-05-27T19:00:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--- Marks items as deprecated, and provides a warning when they are called.&lt;br /&gt;
--&lt;br /&gt;
-- ## Limitations ##&lt;br /&gt;
-- This module will not provide a warning if a deprecated item is called from&lt;br /&gt;
-- within the same module that this module is used.&lt;br /&gt;
--&lt;br /&gt;
-- @release alpha&lt;br /&gt;
-- @author [[User:Awesome_Aasim|Awesome Aasim]]&lt;br /&gt;
-- @function deprecated&lt;br /&gt;
-- @param {table} p package frame&lt;br /&gt;
-- @param deprecatedTable &lt;br /&gt;
-- @return package&lt;br /&gt;
&lt;br /&gt;
return function(p, deprecatedTable, replacement)&lt;br /&gt;
	local pckg = {}&lt;br /&gt;
	--- Warn&lt;br /&gt;
	-- @param {string} text warning text&lt;br /&gt;
	function warn(text)&lt;br /&gt;
		local tb = debug.traceback()&lt;br /&gt;
		mw.log(text .. &amp;#039;\n&amp;#039; .. tb)&lt;br /&gt;
		mw.addWarning(text .. tb:gsub(&amp;quot;\n&amp;quot;, &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;):gsub(&amp;quot;\t&amp;quot;, &amp;quot;&amp;amp;emsp;&amp;quot;))&lt;br /&gt;
	end&lt;br /&gt;
	if deprecatedTable == nil or deprecatedTable == true then&lt;br /&gt;
		deprecatedTable = {}&lt;br /&gt;
		for k,_ in pairs(p) do&lt;br /&gt;
			deprecatedTable[k] = {&lt;br /&gt;
				deprecated = true,&lt;br /&gt;
				replacement = replacement or &amp;quot;&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	setmetatable(pckg, {&lt;br /&gt;
		__index = function(t, index)&lt;br /&gt;
			if deprecatedTable[index] and deprecatedTable[index][&amp;quot;deprecated&amp;quot;] then&lt;br /&gt;
				warn(&lt;br /&gt;
					mw.ustring.format(&lt;br /&gt;
						&amp;quot;Deprecated member &amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; called. &amp;quot;, index&lt;br /&gt;
					) .. (&lt;br /&gt;
						deprecatedTable[index][&amp;quot;replacement&amp;quot;]&lt;br /&gt;
						and mw.ustring.format(&amp;quot;Please %s instead.&amp;quot;, deprecatedTable[index][&amp;quot;replacement&amp;quot;])&lt;br /&gt;
						or &amp;#039;&amp;#039;&lt;br /&gt;
					)&lt;br /&gt;
				)&lt;br /&gt;
			end&lt;br /&gt;
			return p[index]&lt;br /&gt;
		end&lt;br /&gt;
	})&lt;br /&gt;
	return pckg&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Module:Fallbacklist&gt;Awesome Aasim</name></author>
	</entry>
</feed>