Last modified: 2012-09-06 04:16:01 UTC
Lua test in: http://www.mediawiki.org/wiki/Module:Chinese see http://www.mediawiki.org/wiki/Module_talk:Chinese \n and \r is ignore. And blank error。 [[Module:Chinese]] refer http://www.lua.org/manual/5.1/manual.html#2.1
The text returned from Lua is parsed as wikitext. I don't see any problems with your test case -- the \n appears to do what newlines normally do in wikitext -- they terminate a <pre> section created by a line with an initial space, but in many contexts they only add whitespace.