Board Thread:Support Requests - Getting Technical/@comment-24473195-20150622135110

I'm attempting to replicate the module preview functionality available in Wikipedia, and have managed to implement it to an extent here. Currently it previews the text outputted using "mw.log", "print". However, in wikipedia one can preview how it will look in a page, provided that the page already has the. .

Does anyone have any clues about how this is implemented by wikipedia or where the code is stored? 