Content deleted Content added
Fred Gandt (talk | contribs) stringify results for direct invocations |
Fred Gandt (talk | contribs) fixes |
||
Line 83:
function p:test__three_short_description_templates__second_none__third_noreplace()
self:preprocess_equals('{{#invoke:GetShortDescription/sandbox|main|stringify=yes|name=User:Fred Gandt/sandbox/three explicit short description templates second none third noreplace}}', "Explicit short description first (used)")
end
Line 101:
function p:test__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription/sandbox|main|stringify=yes|name=Example}}', "Wikimedia disambiguation page")
end
Line 165:
function p:test__prefer_explicit__explicit_does_not_exist__wikidata_exists()
self:preprocess_equals('{{#invoke:GetShortDescription/sandbox|main|stringify=yes|name=Example|prefer=explicit}}', "Wikimedia disambiguation page")
end
Line 220:
function p:test__only_explicit__none()
self:preprocess_equals('{{#invoke:GetShortDescription/sandbox|main|stringify=yes|name=User:Fred Gandt/sandbox/explicit short description none|only=explicit}}', "none")
end
Line 240:
function p:test__only_explicit__numbered__none()
self:preprocess_equals('{{#invoke:GetShortDescription/sandbox|main|stringify=yes|name=User:Fred Gandt/sandbox/explicit short description numbered none|only=explicit}}', "none")
end
Line 248:
function p:test__only_explicit__complex__none()
self:preprocess_equals('{{#invoke:GetShortDescription/sandbox|main|stringify=yes|name=User:Fred Gandt/sandbox/explicit short description complex none|only=explicit}}', "none")
end
Line 256:
function p:test__only_explicit__complex__numbered__none()
self:preprocess_equals('{{#invoke:GetShortDescription/sandbox|main|stringify=yes|name=User:Fred Gandt/sandbox/explicit short description complex numbered none|only=explicit}}', "none")
end
|