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->getContent();

Then, I get the content of the article.

The problem is when the article use a template, I get this:

  {{TemplateName | param1 | param2....}}


And I need to get the text after the template is applied.

How can I get the text of the article after the template is applied ?


Thanks!

Mauricio.-
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to