Re: [Wikitech-l] parse vs. recursiveTagParse

2011-03-24 Thread Stephan Gambke
Am 23.03.2011 23:33, Tim Starling wrote: recursiveTagParse() is the function to use from a tag hook or other parser hook, to parse text when a parse operation is already in progress on the same Parser object. It should not be used when a parse operation is not in progress. Its output is

[Wikitech-l] parse vs. recursiveTagParse

2011-03-23 Thread Stephan Gambke
I work on an extension that used to call parse() directly. Then after some advice from mw developers this was changed to a call to recursiveTagParse because parse should not be called directly. Only problem is, the method that used to call parse() is used to populate a Special page, so parse() is

Re: [Wikitech-l] parse vs. recursiveTagParse

2011-03-23 Thread Platonides
Stephan Gambke wrote: I work on an extension that used to call parse() directly. Then after some advice from mw developers this was changed to a call to recursiveTagParse because parse should not be called directly. Only problem is, the method that used to call parse() is used to populate a

Re: [Wikitech-l] parse vs. recursiveTagParse

2011-03-23 Thread Tim Starling
On 24/03/11 07:06, Stephan Gambke wrote: I work on an extension that used to call parse() directly. Then after some advice from mw developers this was changed to a call to recursiveTagParse because parse should not be called directly. Only problem is, the method that used to call parse() is