<?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%3AGerrit</id>
	<title>Module:Gerrit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AGerrit"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Gerrit&amp;action=history"/>
	<updated>2026-06-26T06:05:18Z</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:Gerrit&amp;diff=471827&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:Gerrit&amp;diff=471827&amp;oldid=prev"/>
		<updated>2021-07-15T21:52:06Z</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;
&lt;br /&gt;
p.link = function (frame)&lt;br /&gt;
	local hash = frame.args[1]&lt;br /&gt;
	local length = string.len(hash)&lt;br /&gt;
	&lt;br /&gt;
	if not string.match(hash, '^I?%x+$' ) then&lt;br /&gt;
		return hash&lt;br /&gt;
	end&lt;br /&gt;
	local text&lt;br /&gt;
	if length &amp;gt; 14 then&lt;br /&gt;
		text = string.format(&amp;quot;%.7s&amp;quot;, hash)&lt;br /&gt;
	else&lt;br /&gt;
		text = hash&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local url&lt;br /&gt;
	if length &amp;gt; 6 then&lt;br /&gt;
		-- query&lt;br /&gt;
		url = 'https://gerrit.wikimedia.org/r/q/' .. mw.uri.encode(hash)&lt;br /&gt;
    else&lt;br /&gt;
    	-- probably a change&lt;br /&gt;
    	url = 'https://gerrit.wikimedia.org/r/c/' .. hash .. '/'&lt;br /&gt;
    end&lt;br /&gt;
        	&lt;br /&gt;
    return '&amp;lt;span class=plainlinks style=&amp;quot;font-family: Consolas, Liberation Mono, Courier, monospace; text-decoration: none;&amp;quot;&amp;gt;[' .. url .. ' ' .. text .. ']&amp;lt;/span&amp;gt;'&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>