Fandom

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,032,725questions on
Wikianswers
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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?

Also on Fandom

Random Wiki