On Wed, Aug 5, 2009 at 9:20 AM, Alex Bernier<alex.bern...@free.fr> wrote:
> Hello,
>
> I have what I think is strange behaviour with parser called by the API
> and tag extensions.

<snip/>

> A little bit of debug show that the includes/parser/Parser.php, the
> "extensionSubstitution" function is only called one time when I access my
> page via the API and three times when I access it via the browser. Is the
> text parsed not the same in the two cases ? Is it something wrong in my API
> call ?

If you want XML parsing of wiki text, the closest you can come to tat
is, AFAFIK, still my wiki2xml:
http://toolserver.org/~magnus/wiki2xml/w2x.php

Or as an extension:
http://www.mediawiki.org/wiki/Extension:Wiki2xml

It kinda works for most simple wikitext. Feel free to fix/improve.

Cheers,
Magnus

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to