<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AGetShortDescription%2Ftestcases</id>
	<title>Module:GetShortDescription/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AGetShortDescription%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:GetShortDescription/testcases&amp;action=history"/>
	<updated>2026-04-22T01:54:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Module:GetShortDescription/testcases&amp;diff=16345353&amp;oldid=prev</id>
		<title>imported&gt;Fred Gandt: few fixes</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:GetShortDescription/testcases&amp;diff=16345353&amp;oldid=prev"/>
		<updated>2024-08-27T14:47:23Z</updated>

		<summary type="html">&lt;p&gt;few fixes&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Unit tests for [[Module:GetShortDescription]]. Run all tests on the talk page.&lt;br /&gt;
-- Due to the changable nature of short descriptions; some of these tests may need to be updated before running them.&lt;br /&gt;
&lt;br /&gt;
local p = require(&amp;#039;Module:UnitTests&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
--[[ empty params ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__no_name_param()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes}}&amp;#039;, &amp;#039;&amp;lt;span style=&amp;quot;color:#d33&amp;quot;&amp;gt;[[Module:GetShortDescription]] requires a page name (including namespace).&amp;lt;/span&amp;gt;[[Category:Pages displaying alarming messages about Module:GetShortDescription]]&amp;#039;, {nowiki = 1})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__no_name_value()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=}}&amp;#039;, &amp;#039;&amp;lt;span style=&amp;quot;color:#d33&amp;quot;&amp;gt;[[Module:GetShortDescription]] requires a page name (including namespace).&amp;lt;/span&amp;gt;[[Category:Pages displaying alarming messages about Module:GetShortDescription]]&amp;#039;, {nowiki = 1})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__no_only_value()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|only=}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__no_prefer_value()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|prefer=}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__no_objectify_alarm_value()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|objectify_alarm=}}&amp;#039;, &amp;#039;&amp;lt;span style=&amp;quot;color:#d33&amp;quot;&amp;gt;[[Module:GetShortDescription]] requires a page name (including namespace).&amp;lt;/span&amp;gt;[[Category:Pages displaying alarming messages about Module:GetShortDescription]]&amp;#039;, {nowiki = 1})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ nonexistent page name ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__nonexistent_page_name()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Intentionally permanent red link}}&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ unknown param offered ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__unknown_param_with_no_value_offered()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|unknown=}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__unknown_param_with_value_offered()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|unknown=unknown}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ unknown param found ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__unknown_param_found()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description with unknown params}}&amp;#039;, &amp;quot;Explicit short description with unknown params&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__complex_unknown_params_found()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description with complex unknown params}}&amp;#039;, &amp;quot;Explicit short description with complex unknown params&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ multiple short descriptions ]]&lt;br /&gt;
&lt;br /&gt;
--[[ temporarily disabled re other solution required&lt;br /&gt;
&lt;br /&gt;
function p:test__two_short_descriptions_numbered_after()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/two explicit short descriptions numbered after}}&amp;#039;, &amp;quot;Explicit short description numbered second (used)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__two_short_descriptions_numbered_before()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/two explicit short descriptions numbered before}}&amp;#039;, &amp;quot;Explicit short description unnumbered second (used)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function p:test__two_short_description_templates()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/two explicit short description templates}}&amp;#039;, &amp;quot;Explicit short description second (used)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__two_short_description_templates__first_noreplace()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/two explicit short description templates first noreplace}}&amp;#039;, &amp;quot;Explicit short description second (used)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__two_short_description_templates__second_noreplace()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/two explicit short description templates second noreplace}}&amp;#039;, &amp;quot;Explicit short description first (used)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__three_short_description_templates__second_noreplace()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/three explicit short description templates second noreplace}}&amp;#039;, &amp;quot;Explicit short description third (used)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__three_short_description_templates__second_none__third_noreplace()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/three explicit short description templates second none third noreplace}}&amp;#039;, &amp;quot;Explicit short description first (used)&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ none but name ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__explicit_exists__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__explicit_does_not_exist__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__explicit_exists__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia}}&amp;#039;, &amp;quot;Free online crowdsourced encyclopedia&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__explicit_does_not_exist__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example}}&amp;#039;, &amp;quot;Wikimedia disambiguation page&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ name and only ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__explicit_exists__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|only=explicit}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_wikidata__explicit_exists__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|only=wikidata}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__explicit_does_not_exist__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description|only=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_wikidata__explicit_does_not_exist__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description|only=wikidata}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__explicit_exists__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|only=explicit}}&amp;#039;, &amp;quot;Free online crowdsourced encyclopedia&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_wikidata__explicit_exists__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|only=wikidata}}&amp;#039;, &amp;quot;free multilingual online encyclopedia&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__explicit_does_not_exist__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example|only=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_wikidata__explicit_does_not_exist__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example|only=wikidata}}&amp;#039;, &amp;quot;Wikimedia disambiguation page&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ name and prefer ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_explicit__explicit_exists__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|prefer=explicit}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_wikidata__explicit_exists__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|prefer=wikidata}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_explicit__explicit_does_not_exist__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description|prefer=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_wikidata__explicit_does_not_exist__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description|prefer=wikidata}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_explicit__explicit_exists__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|prefer=explicit}}&amp;#039;, &amp;quot;Free online crowdsourced encyclopedia&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_wikidata__explicit_exists__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|prefer=wikidata}}&amp;#039;, &amp;quot;free multilingual online encyclopedia&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_explicit__explicit_does_not_exist__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example|prefer=explicit}}&amp;#039;, &amp;quot;Wikimedia disambiguation page&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__prefer_wikidata__explicit_does_not_exist__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example|prefer=wikidata}}&amp;#039;, &amp;quot;Wikimedia disambiguation page&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ conflicting params ]]&lt;br /&gt;
--[[ only=explicit and prefer=wikidata ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_exists__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|only=explicit|prefer=wikidata}}&amp;#039;, &amp;quot;Explicit short description&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_does_not_exist__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description|only=explicit|prefer=wikidata}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_exists__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|only=explicit|prefer=wikidata}}&amp;#039;, &amp;quot;Free online crowdsourced encyclopedia&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_does_not_exist__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example|only=explicit|prefer=wikidata}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ only=wikidata and prefer=explicit ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_exists__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description|only=wikidata|prefer=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_does_not_exist__wikidata_does_not_exist()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description|only=wikidata|prefer=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_exists__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|only=wikidata|prefer=explicit}}&amp;#039;, &amp;quot;free multilingual online encyclopedia&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_does_not_exist__wikidata_exists()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example|only=wikidata|prefer=explicit}}&amp;#039;, &amp;quot;Wikimedia disambiguation page&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ unusual explicit descriptions ]]&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__undefined()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description undefined|only=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__empty()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description empty|only=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__none()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description none|only=explicit}}&amp;#039;, &amp;quot;none&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__numbered()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description numbered|only=explicit}}&amp;#039;, &amp;quot;Explicit short description numbered&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__complex()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description complex|only=explicit}}&amp;#039;, &amp;quot;Explicit short description complex&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__complex__numbered()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description complex numbered|only=explicit}}&amp;#039;, &amp;quot;Explicit short description complex numbered&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__numbered__empty()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description numbered empty|only=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__numbered__none()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description numbered none|only=explicit}}&amp;#039;, &amp;quot;none&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__complex__empty()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description complex empty|only=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__complex__none()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description complex none|only=explicit}}&amp;#039;, &amp;quot;none&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__complex__numbered__empty()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description complex numbered empty|only=explicit}}&amp;#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p:test__only_explicit__complex__numbered__none()&lt;br /&gt;
	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description complex numbered none|only=explicit}}&amp;#039;, &amp;quot;none&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ test the test; sanity check; should fail ]]&lt;br /&gt;
&lt;br /&gt;
--function p:test__the_test()&lt;br /&gt;
--	self:preprocess_equals(&amp;#039;{{#invoke:GetShortDescription|main|stringify=yes|name=Example}}&amp;#039;, &amp;quot;test the test&amp;quot;)&lt;br /&gt;
--end&lt;br /&gt;
&lt;br /&gt;
--[[ foreign language wikidata ]]&lt;br /&gt;
&lt;br /&gt;
-- Testing |lang_italic= |lang_nocat= |lang_size= |lang_cat= |lang_rtl= |lang_no= will require a wikidata description in a language other than English to be returned&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Fred Gandt</name></author>
	</entry>
</feed>