Hi Yury, Im trying to accomplish something like you did.

I have this string "[[my_page]]", and following your example, I'm trying to get the wikitext for its pagelink, like this:

$str = "[[My_Page]]";
$str = $parser->replaceVariables($str,$frame);

but after this, $str = "[[My_Page]]", instead of http://SERVER/index.php/My_Page, as I was expected.
And Im doing something wrong? thanks in advance,
Marcelo.