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)
- 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.