<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ABad_title_suggestion%2Ftestcases</id>
	<title>Module:Bad title suggestion/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ABad_title_suggestion%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Bad_title_suggestion/testcases&amp;action=history"/>
	<updated>2026-04-21T06:19:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Bad_title_suggestion/testcases&amp;diff=135357&amp;oldid=prev</id>
		<title>imported&gt;The Earwig: create</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Bad_title_suggestion/testcases&amp;diff=135357&amp;oldid=prev"/>
		<updated>2021-02-27T06:35:35Z</updated>

		<summary type="html">&lt;p&gt;create&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Unit tests for [[Module:Bad title suggestion]]. Click talk page to run tests.&lt;br /&gt;
local p = require(&amp;#039;Module:UnitTests&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function p:test_basic()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:Bad title suggestion|main|&amp;gt;|Foobar&amp;amp;#62;}}&amp;#039;, &amp;#039;{{Did you mean box|Foobar}}&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_namespaced()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:Bad title suggestion|main|}|Wikipedia:Village pump&amp;amp;#125;&amp;amp;#125;}}&amp;#039;, &amp;#039;{{Did you mean box|Wikipedia:Village pump}}&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_pipe()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:Bad title suggestion|main|||Main Page&amp;amp;#124;title text}}&amp;#039;, &amp;#039;{{Did you mean box|Main Page}}&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_missing()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:Bad title suggestion|main|&amp;gt;|This page absolutely does not exist&amp;amp;#62;}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_category()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:Bad title suggestion|main|&amp;gt;|Category:Contents&amp;amp;#62;}}&amp;#039;, &amp;#039;{{Did you mean box|Category:Contents}}&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_first_invalid()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:Bad title suggestion|main|&amp;lt;|&amp;amp;60;Foobar&amp;amp;#62;}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test_empty()&lt;br /&gt;
	self:preprocess_equals_preprocess(&amp;#039;{{#invoke:Bad title suggestion|main|&amp;gt;|}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;The Earwig</name></author>
	</entry>
</feed>