Great, that was exactly what I need. Thanks a lot.

Marcelo.


2013/7/9 Yury Katkov <katkov.juriy@gmail.com>
Hi Marcello!

Please point to the example you're talking about so that I have more context.
Anyway if you want to have fullURL of the given name of the wikipage you should probably use the functions from Title object, for example getFullURL(). 

You can get the Title object from the $frame I guess. 
-----
Yury Katkov, WikiVote



On Tue, Jul 9, 2013 at 10:54 PM, Marcelo Chiaradía <chiaradiamarcelo@gmail.com> wrote:
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.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel