sorry i was perhaps not clear enough in my initial post. i am not trying to use the wiki markup at all. simply display what a wikipedia user would have to copy and paste into the wikipedia editing backend in order to successfully ‘enact’ the markup and so cite the post.
i simply don’t know how to automatically call in the current post title/url into the html, and also was wondering about whether it was best done through php.