Board Thread:Support Requests - Getting Technical/@comment-4360159-20160601043734/@comment-4360159-20160610164005

So, I finally figured out a solution when I was skimming over a few modules and the documentation on the Developer wiki for another module I was working on.

As my returned text was wrapped under another function, it wasn't directly returned to the frame object, but to the wrapper instead. So, it didn't process it, I guess. I used the preprocess method of the frame object, and it works now.

Correction: MediaWiki expects that returned text is ready for rendering without further parsing. Wikitext will be parsed, but text that includes MediaWiki extensions must be preprocessed.

See c:dev:Thread:6279.

EDIT: In case if there's anyone else in the future who happens upon this post –or anywhere else on Community Central– looking for Lua help, there's a Lua Help board on the Wikia Developers Wiki (that I somehow overlooked).