Wikia

Wikianswers

Welcome! Enter your question below. Please use words like "Who, What, Where, When, Why, How, etc..." in your question. Nothing to ask? Click here for a random, un-answered question.

What is the Mediawiki PHP code to convert cur text to wiki code?

1,013,354questions on
Wikianswers
Talk0

I would like to be able to display the raw MediaWiki wiki code of cur_text (a field in the "cur" table in Wikipedia's MySQL table which keeps the current user-submitted content for each wiki page) with all of the appropriate conversion routines into HTML, but without the sidebar and all of the other extraneous content showing up.

Could someone tell me what that code is or where it can be found (including all the functions I would need to include for it to work) and then how I could call it from a PHP script?

Around Wikia's network

Random Wiki