Using Pear Wiki package, I tried using following code to convert some media wiki to plain text, but it does not work as expected. What is wrong with it?
require_once "Text/Wiki/Mediawiki.php";
$p=new Text_Wiki_Mediawiki();
echo $p->transform('==a title==[[ a link]]','plain');
// I expect "a title a link" but it returns: "==a title==[[ a link]]"