<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikisphere.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AContactManager%2FConversationsNavigationBottom</id>
	<title>Module:ContactManager/ConversationsNavigationBottom - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikisphere.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AContactManager%2FConversationsNavigationBottom"/>
	<link rel="alternate" type="text/html" href="https://wikisphere.org/w/index.php?title=Module:ContactManager/ConversationsNavigationBottom&amp;action=history"/>
	<updated>2026-04-12T13:44:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wikisphere.org/w/index.php?title=Module:ContactManager/ConversationsNavigationBottom&amp;diff=149657&amp;oldid=prev</id>
		<title>Maintenance script at 10:52, 19 October 2025</title>
		<link rel="alternate" type="text/html" href="https://wikisphere.org/w/index.php?title=Module:ContactManager/ConversationsNavigationBottom&amp;diff=149657&amp;oldid=prev"/>
		<updated>2025-10-19T10:52:14Z</updated>

		<summary type="html">&lt;p&gt;&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 10:52, 19 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&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;!-- diff cache key wiki_wikisphere:diff:1.41:old-149399:rev-149657 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://wikisphere.org/w/index.php?title=Module:ContactManager/ConversationsNavigationBottom&amp;diff=149399&amp;oldid=prev</id>
		<title>Maintenance script at 07:48, 1 September 2025</title>
		<link rel="alternate" type="text/html" href="https://wikisphere.org/w/index.php?title=Module:ContactManager/ConversationsNavigationBottom&amp;diff=149399&amp;oldid=prev"/>
		<updated>2025-09-01T07:48:09Z</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;-- This file has been created directing ChatGPT, with a few edits&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.fn(frame)&lt;br /&gt;
	local args = frame.args or {}&lt;br /&gt;
&lt;br /&gt;
	local pageSize = 100&lt;br /&gt;
	local offset = tonumber(args.offset) or 0&lt;br /&gt;
	local count = tonumber(args.count) or 0&lt;br /&gt;
&lt;br /&gt;
	-- Calculate display range&lt;br /&gt;
	local startItem = offset + 1&lt;br /&gt;
	local endItem = math.min(offset + pageSize, count)&lt;br /&gt;
&lt;br /&gt;
	-- Build query string helper&lt;br /&gt;
	local function buildQuery(args, offsetValue)&lt;br /&gt;
		local parts = {}&lt;br /&gt;
&lt;br /&gt;
		if offsetValue and offsetValue ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			table.insert(parts, &amp;#039;offset=&amp;#039; .. mw.uri.encode(tostring(offsetValue)))&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local paramNames = { &amp;#039;mailbox&amp;#039;, &amp;#039;month&amp;#039;, &amp;#039;year&amp;#039;, &amp;#039;hash&amp;#039;, &amp;#039;show&amp;#039; }&lt;br /&gt;
&lt;br /&gt;
		for _, param in ipairs(paramNames) do&lt;br /&gt;
			local val = args[param]&lt;br /&gt;
			if val and val ~= &amp;#039;&amp;#039; then&lt;br /&gt;
				table.insert(parts, mw.uri.encode(param) .. &amp;#039;=&amp;#039; .. mw.uri.encode(tostring(val)))&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		return table.concat(parts, &amp;#039;|&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ret = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	local title = mw.title.getCurrentTitle()&lt;br /&gt;
&lt;br /&gt;
	-- Prev link: only if offset &amp;gt; 0&lt;br /&gt;
	if offset &amp;gt; 0 then&lt;br /&gt;
		local prevOffset = math.max(offset - pageSize, 0)&lt;br /&gt;
		ret = ret .. string.format(&lt;br /&gt;
			&amp;#039;{{#querylink:%s|◀ Previous 100| %s }}&amp;#039;,&lt;br /&gt;
			title.fullText,&lt;br /&gt;
			buildQuery(args, prevOffset)&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Show range info only if count &amp;gt; 0&lt;br /&gt;
	if count &amp;gt; 0 then&lt;br /&gt;
		if offset &amp;gt; 0 then&lt;br /&gt;
			ret = ret .. &amp;quot; | &amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
		ret = ret .. string.format(&amp;quot;Showing %d - %d of %d&amp;quot;, startItem, endItem, count)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Next link: only if endItem &amp;lt; count (means more pages)&lt;br /&gt;
	if endItem &amp;lt; count then&lt;br /&gt;
		if offset &amp;gt; 0 or count &amp;gt; 0 then&lt;br /&gt;
			ret = ret .. &amp;quot; | &amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
		local nextOffset = offset + pageSize&lt;br /&gt;
		ret = ret .. string.format(&lt;br /&gt;
			&amp;#039;{{#querylink:%s|Next 100 ▶| %s }}&amp;#039;,&lt;br /&gt;
			title.fullText,&lt;br /&gt;
			buildQuery(args, nextOffset)&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return frame:preprocess(ret)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>