On 06/07/07, Carlos Jorge Andrade <carlos.andrade(a)gmail.com> wrote:
Having a $wgArticle object how can I get the
*rendered* article
text ? Can't find any method/function that will return that...
getContent just returns the article as wiki markup.
Assuming no use of the parser cache...
global $wgParser, $wgUser;
$output = $wgParser->parse( $wgArticle->getContent(),
$wgArticle->getTitle(), ParserOptions::newFromUser() );
$html = $output->getText();
Rob Church