[Mediawiki-l] parsing tag body

Ittay Dror ittayd at qlusters.com
Wed Jan 3 10:37:20 UTC 2007


i created an extension as instructed in http://meta.wikimedia.org/wiki/Extending_wiki_markup

i use it basically as:
<my_tag>
  <another_tag>...</another_tag>
</my_tag>

the $input parameter to my function contains '<another tag>...</another tag>', which i want to process:
  $localParser = new Parser(); 
  $output = $localParser->parse($input, $parser->mTitle, $parser->mOptions, false); 


but $output->getText() returns <another_tag>foo</another_tag> 

how should i properly parse the text?

thanks,
ittay

-- 
===================================
Ittay Dror, 
Chief architect, 
R&D, Qlusters Inc.
ittayd at qlusters.com
+972-3-6081994 Fax: +972-3-6081841

www.openqrm.org - Data Center Provisioning



More information about the MediaWiki-l mailing list