<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AHidden_ping</id>
	<title>Module:Hidden ping - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AHidden_ping"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Module:Hidden_ping&amp;action=history"/>
	<updated>2026-04-26T01:20:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Module:Hidden_ping&amp;diff=19490&amp;oldid=prev</id>
		<title>Richardpruen: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Module:Hidden_ping&amp;diff=19490&amp;oldid=prev"/>
		<updated>2021-12-05T15:11:53Z</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;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-GB&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 16:11, 5 December 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key uk_vapewiki:diff:1.41:old-19489:rev-19490 --&gt;
&lt;/table&gt;</summary>
		<author><name>Richardpruen</name></author>
	</entry>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Module:Hidden_ping&amp;diff=19489&amp;oldid=prev</id>
		<title>Wikipedia&gt;JJMC89: Changed protection level for &quot;Module:Hidden ping&quot;: Highly visible module: match template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Module:Hidden_ping&amp;diff=19489&amp;oldid=prev"/>
		<updated>2019-02-25T03:53:11Z</updated>

		<summary type="html">&lt;p&gt;Changed protection level for &amp;quot;&lt;a href=&quot;/mediawiki/index.php/Module:Hidden_ping&quot; title=&quot;Module:Hidden ping&quot;&gt;Module:Hidden ping&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/mediawiki/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (page does not exist)&quot;&gt;Highly visible module&lt;/a&gt;: match template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))&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;
local function makeError(msg, frame)&lt;br /&gt;
	-- Show error only in preview&lt;br /&gt;
	if (frame:preprocess( &amp;quot;{{REVISIONID}}&amp;quot; ) ~= &amp;quot;&amp;quot;) then return &amp;#039;&amp;#039; end&lt;br /&gt;
	msg =&amp;#039;&amp;lt;strong&amp;gt;Error in [[Template:Hidden ping]]:&amp;lt;/strong&amp;gt; &amp;#039; .. msg&lt;br /&gt;
	return mw.text.tag(&amp;#039;div&amp;#039;, {[&amp;#039;class&amp;#039;]=&amp;#039;error&amp;#039;}, msg)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.hiddenping(frame)&lt;br /&gt;
	local origArgs = frame:getParent().args&lt;br /&gt;
	local args = {}&lt;br /&gt;
	local maxArg = 0&lt;br /&gt;
	local usernames = 0&lt;br /&gt;
	for k, v in pairs(origArgs) do&lt;br /&gt;
		if type(k) == &amp;#039;number&amp;#039; and mw.ustring.match(v,&amp;#039;%S&amp;#039;) then&lt;br /&gt;
			if k &amp;gt; maxArg then maxArg = k end&lt;br /&gt;
			local title = mw.title.new(v)&lt;br /&gt;
			if title then&lt;br /&gt;
				args[k] = title.rootText&lt;br /&gt;
				usernames = usernames + 1&lt;br /&gt;
			else&lt;br /&gt;
				return makeError(&amp;#039;Input contains forbidden characters.&amp;#039;, frame)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if usernames &amp;lt; 1 then&lt;br /&gt;
		return makeError(&amp;#039;Username not given.&amp;#039;, frame)&lt;br /&gt;
	elseif usernames &amp;gt; (tonumber(frame.args.max) or 50) then&lt;br /&gt;
		return makeError(&amp;#039;More than &amp;#039;..tostring(frame.args.max or 50)..&amp;#039; names specified.&amp;#039;, frame)&lt;br /&gt;
	else&lt;br /&gt;
		local outStr = &amp;#039;&amp;#039;&lt;br /&gt;
		for i = 1, maxArg do&lt;br /&gt;
			if args[i] then outStr = outStr..&amp;#039;[[:User:&amp;#039;..args[i]..&amp;#039;|&amp;amp;#x200B;]]&amp;#039; end&lt;br /&gt;
		end&lt;br /&gt;
		return outStr&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;JJMC89</name></author>
	</entry>
</feed>