Hey,
> How can I get the text of the article after the template is applied ?
Have a look here:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Contest/includes/ContestUtils.php?view=markup#l47
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
--
Hi everyone,
I´m developing a new extension for SMW.
>From that extension I need to acces to the text of a given article.
I´m doing something like this:
$resTitle = Title::makeTitle( NS_MAIN, 'ArticleName');
$resArticle = MediaWiki::articleFromTitle($resTitle);
$valuestring =$resArticle->getC