<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ADBR_index</id>
	<title>Module:DBR index - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ADBR_index"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:DBR_index&amp;action=history"/>
	<updated>2026-06-14T13:19:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:DBR_index&amp;diff=471451&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:DBR_index&amp;diff=471451&amp;oldid=prev"/>
		<updated>2021-07-15T21:14:56Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&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;
local title = mw.title.getCurrentTitle()&lt;br /&gt;
&lt;br /&gt;
-- The point of this module is to keep the [[WP:PEIS]] lower than is possible&lt;br /&gt;
-- with nested templates.&lt;br /&gt;
&lt;br /&gt;
local function sizeof(n)&lt;br /&gt;
	return tonumber(mw.getCurrentFrame():callParserFunction('PAGESIZE', {title.fullText .. '/' .. n, 'R'}))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local description = frame.args.description or&lt;br /&gt;
		frame:getParent().args.description or&lt;br /&gt;
		title.subpageText:lower()&lt;br /&gt;
	local as_of = '; data as of ' ..&lt;br /&gt;
			frame:expandTemplate{ title = title.fullText .. '/1', args = {} } .. '.\n'&lt;br /&gt;
	if sizeof(2) &amp;gt; 50 then&lt;br /&gt;
		local result = {'Index of ' .. description .. as_of ..&lt;br /&gt;
			'&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;[[/1|Page 1]]&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;[[/2|Page 2]]&amp;lt;/li&amp;gt;'}&lt;br /&gt;
		for i = 3, 27 do&lt;br /&gt;
			if sizeof(i) &amp;gt; 50 then&lt;br /&gt;
				result[#result + 1] = '&amp;lt;li&amp;gt;[[/' .. i .. '|Page ' .. i .. ']]&amp;lt;/li&amp;gt;'&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		return table.concat(result)&lt;br /&gt;
	end&lt;br /&gt;
	local content = mw.title.new(title.fullText .. '/1'):getContent():match('{|.*|}')&lt;br /&gt;
	content = frame:getParent():preprocess(content)&lt;br /&gt;
	return mw.getContentLanguage():ucfirst(description) .. as_of .. content&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>