So in other words the code exists but is not currently enabled?
On Thu, 29 Jul 2004 19:52:39 +0200, Ashar Voultoiz thoane@altern.org wrote:
Bill Clark wrote:
On Wed, 28 Jul 2004 20:52:24 +0100, Rowan Collins rowan.collins@gmail.com wrote:
So they do... Question is, does anyone know how that *does* work? [Parser.php is more than a little, um, opaque...]
I haven't looked at it (and don't have time at this exact moment) but I imagine it's something like this: Keep track of how deep you are nested within the [['s, and treat the | characters differently according to context. If you're at the top level, a | character is a delimiter for that level, but if you're already nested inside another [[ level (i.e. you're inside a link) then treat the | character according to the piped-link interpretation. Look for ]]'s to know when you should pop back out to the previous level/context.
-Bill Clark
Hello,
That will be the way to do it using a tokenizer. Unfortunatly the tokenizer is disabled for performance issue.
-- Ashar Voultoiz
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l