Jump to content

Manual talk:Parser.php

Add topic
From mediawiki.org
Latest comment: 16 years ago by Golgo Thirteen

Is this the code that turns wikilinks blue or red depending on whether the page exists or not? Thanks, Golgo Thirteen 15:30, 18 August 2008 (UTC)Reply

My bad, it's actually linker.php.

Hi, I recently looked into "function doBlockLevels". I think this really should be rewritten completely. As far as I can tell this code is the main problem for the infamous "pre over multiple lines in lists" bug here: https://bugzilla.wikimedia.org/show_bug.cgi?id=1581 The code also does not seem to handle nested tags, even if there is a comment which seems someone else was already thinking about that.

// XXX: use a stack for nestable elements like span, table and div.

Any thoughts ? — Preceding unsigned comment added by 194.25.174.98 (talkcontribs) 12:39, 18 November 2009