Given a page title in $title, how do I get the html for the page's body? What is the function to call?
Topic on Project:Support desk
Jump to navigation Jump to search
The contents of maintenance/getText.php and maintenance/parse.php contained everything I needed. Thank you to everyone who chimed in - somtimes you just have to keep the ball rolling until it falls into the pocket. :)
Look at Manual:getText.php, which is a relavively small php file, to see what it does.
This returns the wikitext... is there a similar function that returns the html?
I'm guessing maintenance/parse.php has the good bits.
What about using the API? - api.php?action=parse