Last modified: 2013-08-05 15:45:39 UTC
When the invocation of a module returns text with an asterisk as the first character, Scribunto prepends a newline to the text. This is obviously undesirable because it makes it impossible to do any further processing on the output of such an invocation. To reproduce: * Make a module with a function that returns "*test" * Write in a wiki page: test{{#invoke:(your module)|(your function)}} You'd expect this to return test*test but instead you get test *test which the software then interprets as a bullet list.
This is yet another clever feature of MediaWiki's parser, see bug 12974.
{{#invoke}} is a parser function, so this is a duplicate, not just a "depends on". *** This bug has been marked as a duplicate of bug 12974 ***