<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chabadpedia.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AArticle_stub_box</id>
	<title>Module:Article stub box - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://chabadpedia.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AArticle_stub_box"/>
	<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=Module:Article_stub_box&amp;action=history"/>
	<updated>2026-05-08T08:21:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://chabadpedia.com/index.php?title=Module:Article_stub_box&amp;diff=12833&amp;oldid=prev</id>
		<title>M.robin at 19:33, 23 August 2025</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=Module:Article_stub_box&amp;diff=12833&amp;oldid=prev"/>
		<updated>2025-08-23T19:33:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://chabadpedia.com/index.php?title=Module:Article_stub_box&amp;amp;diff=12833&amp;amp;oldid=12385&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>M.robin</name></author>
	</entry>
	<entry>
		<id>https://chabadpedia.com/index.php?title=Module:Article_stub_box&amp;diff=12385&amp;oldid=prev</id>
		<title>M.robin: Created page with &quot;--[[ This module was created by User:CodeHydro (Alexander Zhikun He). User:Jackmcbarn and User:Mr._Stradivarius provided a great deal of assistance in writting p.main()  p.main() draw heavily from the following version of Template:Asbox of the English Wikipedia, authored primarily by User:Rich_Farmbrough https://en.wikipedia.org/w/index.php?title=Template:Asbox&amp;oldid=619510287  p.templatepage() is derived from the following revision of Template:Asbox/templatepage, author...&quot;</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.com/index.php?title=Module:Article_stub_box&amp;diff=12385&amp;oldid=prev"/>
		<updated>2025-07-27T15:46:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;--[[ This module was created by User:CodeHydro (Alexander Zhikun He). User:Jackmcbarn and User:Mr._Stradivarius provided a great deal of assistance in writting p.main()  p.main() draw heavily from the following version of Template:Asbox of the English Wikipedia, authored primarily by User:Rich_Farmbrough https://en.wikipedia.org/w/index.php?title=Template:Asbox&amp;amp;oldid=619510287  p.templatepage() is derived from the following revision of Template:Asbox/templatepage, author...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[&lt;br /&gt;
This module was created by User:CodeHydro (Alexander Zhikun He).&lt;br /&gt;
User:Jackmcbarn and User:Mr._Stradivarius provided a great deal of assistance in writting p.main()&lt;br /&gt;
&lt;br /&gt;
p.main() draw heavily from the following version of Template:Asbox of the English Wikipedia, authored primarily by User:Rich_Farmbrough&lt;br /&gt;
https://en.wikipedia.org/w/index.php?title=Template:Asbox&amp;amp;oldid=619510287&lt;br /&gt;
&lt;br /&gt;
p.templatepage() is derived from the following revision of Template:Asbox/templatepage, authored primarily by User:MSGJ&lt;br /&gt;
https://en.wikipedia.org/w/index.php?title=Template:Asbox/templatepage&amp;amp;oldid=632914791&lt;br /&gt;
&lt;br /&gt;
Both templates had significant contributions from numerous others listed in the revision history tab of their respective pages.&lt;br /&gt;
--]]&lt;br /&gt;
local WRAPPER_TEMPLATE, args = &amp;#039;Template:Article stub box&amp;#039;&lt;br /&gt;
-- TODO: update this instance of Asbox to Article stub box eventually&lt;br /&gt;
local templatestyles = &amp;#039;Module:Article stub box/styles.css&amp;#039;&lt;br /&gt;
local p, Buffer, stubCats = {&lt;br /&gt;
	--Prevents dupli-cats... get it? Maybe not?&lt;br /&gt;
	cats = setmetatable({}, {__newindex = function(t, i, v)&lt;br /&gt;
		if not rawget(t, i) then&lt;br /&gt;
			rawset(t, i, v)&lt;br /&gt;
			table.insert(t, i)&lt;br /&gt;
		end&lt;br /&gt;
	end}),&lt;br /&gt;
	--initializes variables required by both p.main and p.templatepage&lt;br /&gt;
	init = function(self, frame, page)&lt;br /&gt;
		args, page = args or require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {&lt;br /&gt;
			wrappers = WRAPPER_TEMPLATE&lt;br /&gt;
		}), page or mw.title.getCurrentTitle()&lt;br /&gt;
		--Ensures demo parameter will never affect category() output for articles&lt;br /&gt;
		self.demo = self.demo or page.namespace ~= 0 and args.demo&lt;br /&gt;
		return args, page&lt;br /&gt;
	end&lt;br /&gt;
}, require(&amp;#039;Module:Buffer&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local attention, catTag, catKey = Buffer&amp;#039;Stub message templates needing attention&amp;#039;, &amp;#039;[[Category:%s]]&amp;#039;, &amp;#039;%s|%s%s&amp;#039;&lt;br /&gt;
local function category(cat)&lt;br /&gt;
	for _, v in ipairs((tostring(cat) == cat or cat.t) and {cat} or cat) do&lt;br /&gt;
		if v and v ~= true then&lt;br /&gt;
			local catText&lt;br /&gt;
			if tostring(v) == v then&lt;br /&gt;
				catText = v&lt;br /&gt;
			else&lt;br /&gt;
				local buf = v[1] and Buffer(v[1]) or attention&lt;br /&gt;
				catText = buf[&amp;quot;in&amp;quot;](buf, v.k)(v.t):_str(2, nil, nil, &amp;#039;|&amp;#039;)&lt;br /&gt;
			end&lt;br /&gt;
			p.cats[catTag:format(catText)] = true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return cat.done and table.concat(p.cats, p.demo and &amp;#039; | &amp;#039; or nil) or &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>M.robin</name></author>
	</entry>
</feed>