--[[ empty params ]]
function p:no_name_paramtest__no_name_param()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes}}', "ERROR with invocation of'<span style="color:#d33">[[Module:GetShortDescription:]] requires a page name (including namespace).</span>[[Category:Pages MUSTdisplaying bealarming provided"messages about Module:GetShortDescription]]', {nowiki = 1})
end
function p:no_name_valuetest__no_name_value()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=}}', "ERROR with invocation of'<span style="color:#d33">[[Module:GetShortDescription:]] requires a page name (including namespace).</span>[[Category:Pages MUSTdisplaying bealarming provided"messages about Module:GetShortDescription]]', {nowiki = 1})
end
function p:no_only_valuetest__no_only_value()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description|only=}}', "explicitExplicit short description")
end
function p:no_prefer_valuetest__no_prefer_value()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description|prefer=}}', "explicitExplicit short description")
end
function p:no_fallback_valuetest__no_objectify_alarm_value()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=User:Fred Gandt/sandbox/no explicit short descriptionyes|fallbackobjectify_alarm=}}', '<span style="color:#d33">[[Module:GetShortDescription]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module:GetShortDescription]]', {nowiki = 1})
end
--[[ unknownnonexistent parampage name ]]
function p:no_unknown_valuetest__nonexistent_page_name()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=User:FredIntentionally Gandt/sandbox/explicitpermanent shortred description|unknown=link}}', "explicit short description"'')
end
--[[ unknown param offered ]]
function p:unknown_value()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description|unknown=unknown}}', "explicit short description")
end
--[[ none but name ]]
function p:explicit_exists__wikidata_does_not_existtest__unknown_param_with_no_value_offered()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description|unknown=}}', "explicitExplicit short description")
end
function p:explicit_does_not_exist__wikidata_does_not_existtest__unknown_param_with_value_offered()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred GandtGetShortDescription/sandbox/no explicit short description|unknown=unknown}}', "Explicit short description")
end
--[[ unknown param found ]]
function p:explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=Wikipedia}}', "Free multilingual, online, crowdsourced encyclopedia")
end
function p:explicit_does_not_exist__wikidata_existstest__unknown_param_found()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=ExampleTemplate:GetShortDescription/explicit short description with unknown params}}', "WikimediaExplicit short description with disambiguationunknown pageparams")
end
function p:test__complex_unknown_params_found()
--[[ name and only ]]
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/explicit short description with complex unknown params}}', "Explicit short description with complex unknown params")
function p:only_explicit__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description|only=explicit}}', "explicit short description")
end
--[[ multiple short descriptions ]]
function p:only_wikidata__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description|only=wikidata}}', "")
end
--[[ temporarily disabled re other solution required
function p:only_explicit__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/no explicit short description|only=explicit}}', "")
end
function p:test__two_short_descriptions_numbered_after()
function p:only_wikidata__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred GandtGetShortDescription/sandbox/notwo explicit short description|only=wikidatadescriptions numbered after}}', "Explicit short description numbered second (used)")
end
function p:only_explicit__explicit_exists__wikidata_existstest__two_short_descriptions_numbered_before()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Wikipediayes|onlyname=Template:GetShortDescription/two explicit short descriptions numbered before}}', "FreeExplicit multilingual,short online,description unnumbered crowdsourcedsecond encyclopedia(used)")
end
]]
function p:only_wikidata__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=Wikipedia|only=wikidata}}', "free multilingual online encyclopedia")
end
function p:test__two_short_description_templates()
function p:only_explicit__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Exampleyes|onlyname=Template:GetShortDescription/two explicit short description templates}}', "Explicit short description second (used)")
end
function p:test__two_short_description_templates__first_noreplace()
function p:only_wikidata__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Exampleyes|onlyname=wikidataTemplate:GetShortDescription/two explicit short description templates first noreplace}}', "WikimediaExplicit short description disambiguationsecond page(used)")
end
function p:test__two_short_description_templates__second_noreplace()
--[[ name and prefer ]]
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/two explicit short description templates second noreplace}}', "Explicit short description first (used)")
function p:prefer_explicit__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description|prefer=explicit}}', "explicit short description")
end
function p:test__three_short_description_templates__second_noreplace()
function p:prefer_wikidata__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/three explicit short description|prefer=wikidata templates second noreplace}}', "explicitExplicit short description third (used)")
end
function p:test__three_short_description_templates__second_none__third_noreplace()
function p:prefer_explicit__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/nothree explicit short description|prefer=explicit templates second none third noreplace}}', "Explicit short description first (used)")
end
--[[ none but name ]]
function p:prefer_wikidata__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/no explicit short description|prefer=wikidata}}', "")
end
function p:prefer_explicit__explicit_exists__wikidata_existstest__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Wikipediayes|prefername=Template:GetShortDescription/explicit short description}}', "Free multilingual, online,Explicit crowdsourcedshort encyclopediadescription")
end
function p:test__explicit_does_not_exist__wikidata_does_not_exist()
function p:prefer_wikidata__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Wikipediayes|prefername=wikidataTemplate:GetShortDescription/no explicit short description}}', "free multilingual online encyclopedia")
end
function p:test__explicit_exists__wikidata_exists()
function p:prefer_explicit__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Exampleyes|prefername=explicitWikipedia}}', "WikimediaFree online disambiguationcrowdsourced pageencyclopedia")
end
function p:test__explicit_does_not_exist__wikidata_exists()
function p:prefer_wikidata__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Exampleyes|prefername=wikidataExample}}', "Wikimedia disambiguation page")
end
--[[ name and fallbackonly ]]
function p:test__only_explicit__explicit_exists__wikidata_does_not_exist()
function p:fallback__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description|fallbackonly=fallbackexplicit}}', "explicitExplicit short description")
end
function p:test__only_wikidata__explicit_exists__wikidata_does_not_exist()
function p:fallback__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred GandtGetShortDescription/sandbox/no explicit short description|fallbackonly=fallbackwikidata}}', "fallback")
end
function p:test__only_explicit__explicit_does_not_exist__wikidata_does_not_exist()
function p:fallback__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=WikipediaTemplate:GetShortDescription/no explicit short description|fallbackonly=fallbackexplicit}}', "Free multilingual, online, crowdsourced encyclopedia")
end
function p:test__only_wikidata__explicit_does_not_exist__wikidata_does_not_exist()
function p:fallback__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=ExampleTemplate:GetShortDescription/no explicit short description|fallbackonly=fallbackwikidata}}', "Wikimedia disambiguation page")
end
function p:test__only_explicit__explicit_exists__wikidata_exists()
--[[ name, only and fallback ]]
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|only=explicit}}', "Free online crowdsourced encyclopedia")
function p:only_explicit__fallback__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description|only=explicit|fallback=fallback}}', "explicit short description")
end
function p:test__only_wikidata__explicit_exists__wikidata_exists()
function p:only_wikidata__fallback__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=User:Fred Gandt/sandbox/explicit short descriptionWikipedia|only=wikidata|fallback=fallback}}', "fallbackfree multilingual online encyclopedia")
end
function p:test__only_explicit__explicit_does_not_exist__wikidata_exists()
function p:only_explicit__fallback__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=User:Fred Gandt/sandbox/no explicit short descriptionExample|only=explicit|fallback=fallback}}', "fallback")
end
function p:test__only_wikidata__explicit_does_not_exist__wikidata_exists()
function p:only_wikidata__fallback__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=User:Fred Gandt/sandbox/no explicit short descriptionExample|only=wikidata|fallback=fallback}}', "fallbackWikimedia disambiguation page")
end
--[[ name and prefer ]]
function p:only_explicit__fallback__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=Wikipedia|only=explicit|fallback=fallback}}', "Free multilingual, online, crowdsourced encyclopedia")
end
function p:test__prefer_explicit__explicit_exists__wikidata_does_not_exist()
function p:only_wikidata__fallback__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Wikipediayes|onlyname=wikidataTemplate:GetShortDescription/explicit short description|fallbackprefer=fallbackexplicit}}', "free multilingualExplicit onlineshort encyclopediadescription")
end
function p:test__prefer_wikidata__explicit_exists__wikidata_does_not_exist()
function p:only_explicit__fallback__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Exampleyes|onlyname=Template:GetShortDescription/explicit short description|fallbackprefer=fallbackwikidata}}', "fallbackExplicit short description")
end
function p:test__prefer_explicit__explicit_does_not_exist__wikidata_does_not_exist()
function p:only_wikidata__fallback__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|namestringify=Exampleyes|onlyname=wikidataTemplate:GetShortDescription/no explicit short description|fallbackprefer=fallbackexplicit}}', "Wikimedia disambiguation page")
end
function p:test__prefer_wikidata__explicit_does_not_exist__wikidata_does_not_exist()
--[[ name, prefer and fallback ]]
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Template:GetShortDescription/no explicit short description|prefer=wikidata}}', "")
function p:prefer_explicit__fallback__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description|prefer=explicit|fallback=fallback}}', "explicit short description")
end
function p:test__prefer_explicit__explicit_exists__wikidata_exists()
function p:prefer_wikidata__fallback__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=User:Fred Gandt/sandbox/explicit short descriptionWikipedia|prefer=wikidata|fallback=fallbackexplicit}}', "explicitFree online shortcrowdsourced descriptionencyclopedia")
end
function p:test__prefer_wikidata__explicit_exists__wikidata_exists()
function p:prefer_explicit__fallback__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=User:Fred Gandt/sandbox/no explicit short descriptionWikipedia|prefer=explicit|fallback=fallbackwikidata}}', "fallbackfree multilingual online encyclopedia")
end
function p:test__prefer_explicit__explicit_does_not_exist__wikidata_exists()
function p:prefer_wikidata__fallback__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=User:Fred Gandt/sandbox/no explicit short descriptionExample|prefer=wikidata|fallback=fallbackexplicit}}', "fallbackWikimedia disambiguation page")
end
function p:test__prefer_wikidata__explicit_does_not_exist__wikidata_exists()
function p:prefer_explicit__fallback__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=WikipediaExample|prefer=explicit|fallback=fallbackwikidata}}', "Free multilingual, online,Wikimedia crowdsourceddisambiguation encyclopediapage")
end
function p:prefer_wikidata__fallback__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=Wikipedia|prefer=wikidata|fallback=fallback}}', "free multilingual online encyclopedia")
end
function p:prefer_explicit__fallback__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=Example|prefer=explicit|fallback=fallback}}', "Wikimedia disambiguation page")
end
function p:prefer_wikidata__fallback__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=Example|prefer=wikidata|fallback=fallback}}', "Wikimedia disambiguation page")
end
--[[ conflicting params ]]
--[[ only=explicit and prefer=wikidata ]]
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_exists__wikidata_does_not_exist()
function p:conflicting__only_explicit__prefer_wikidata__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description|only=explicit|prefer=wikidata}}', "explicitExplicit short description")
end
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_does_not_exist__wikidata_does_not_exist()
function p:conflicting__only_explicit__prefer_wikidata__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/no explicit short description|only=explicit|prefer=wikidata}}', "")
end
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_exists__wikidata_exists()
function p:conflicting__only_explicit__prefer_wikidata__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|only=explicit|prefer=wikidata}}', "Free multilingual, online, crowdsourced encyclopedia")
end
function p:test__conflicting__only_explicit__prefer_wikidata__explicit_does_not_exist__wikidata_exists()
function p:conflicting__only_explicit__prefer_wikidata__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Example|only=explicit|prefer=wikidata}}', "")
end
--[[ only=wikidata and prefer=explicit ]]
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_exists__wikidata_does_not_exist()
function p:conflicting__only_wikidata__prefer_explicit__explicit_exists__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description|only=wikidata|prefer=explicit}}', "")
end
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_does_not_exist__wikidata_does_not_exist()
function p:conflicting__only_wikidata__prefer_explicit__explicit_does_not_exist__wikidata_does_not_exist()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/no explicit short description|only=wikidata|prefer=explicit}}', "")
end
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_exists__wikidata_exists()
function p:conflicting__only_wikidata__prefer_explicit__explicit_exists__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Wikipedia|only=wikidata|prefer=explicit}}', "free multilingual online encyclopedia")
end
function p:test__conflicting__only_wikidata__prefer_explicit__explicit_does_not_exist__wikidata_exists()
function p:conflicting__only_wikidata__prefer_explicit__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Example|only=wikidata|prefer=explicit}}', "Wikimedia disambiguation page")
end
--[[ unusual explicit descriptions ]]
function p:only_explicit__undefinedtest__only_explicit__undefined()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description undefined|only=explicit}}', "")
end
function p:only_explicit__empty()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description empty|only=explicit}}', "")
end
function p:only_explicit__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description none|only=explicit}}', "")
end
function p:only_explicit__whitespace()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description whitespace|only=explicit}}', "")
end
function p:only_explicit__numbered()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description numbered|only=explicit}}', "explicit short description numbered")
end
function p:only_explicit__complextest__only_explicit__empty()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description complexempty|only=explicit}}', "explicit short description complex")
end
function p:only_explicit__complex__numberedtest__only_explicit__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandbox/User:Fred Gandt/sandboxGetShortDescription/explicit short description complex numberednone|only=explicit}}', "explicit short description complex numberednone")
end
function p:only_explicit__numbered__emptytest__only_explicit__numbered()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description numbered empty|only=explicit}}', "Explicit short description numbered")
end
function p:only_explicit__numbered__nonetest__only_explicit__complex()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description numbered nonecomplex|only=explicit}}', "Explicit short description complex")
end
function p:only_explicit__numbered__whitespacetest__only_explicit__complex__numbered()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description numberedcomplex whitespacenumbered|only=explicit}}', "Explicit short description complex numbered")
end
function p:only_explicit__complex__emptytest__only_explicit__numbered__empty()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description complexnumbered empty|only=explicit}}', "")
end
function p:only_explicit__complex__nonetest__only_explicit__numbered__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description complexnumbered none|only=explicit}}', "none")
end
function p:only_explicit__complex__whitespacetest__only_explicit__complex__empty()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description complex whitespaceempty|only=explicit}}', "")
end
function p:only_explicit__complex__numbered__emptytest__only_explicit__complex__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description complex numbered emptynone|only=explicit}}', "none")
end
function p:only_explicit__complex__numbered__nonetest__only_explicit__complex__numbered__empty()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description complex numbered noneempty|only=explicit}}', "")
end
function p:only_explicit__complex__numbered__whitespacetest__only_explicit__complex__numbered__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=UserTemplate:Fred Gandt/sandboxGetShortDescription/explicit short description complex numbered whitespacenone|only=explicit}}', "none")
end
--[[ test the test; sanity check; should fail ]]
--function p:test_the_testtest__the_test()
-- self:preprocess_equals('{{#invoke:GetShortDescription|main|stringify=yes|name=Example}}', "test the test")
--end
|