Jump to content

Manual talk:Parser.php

Add topic
From mediawiki.org

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

[edit]

The following links no longer answer in paragraph 3.The parsing cycle  :

PPFrame https://doc.wikimedia.org/mediawiki-core/master/php/interfacePPFrame.html

object LinkHolderArray https://doc.wikimedia.org/mediawiki-core/master/php/classLinkHolderArray.html

Language https://doc.wikimedia.org/mediawiki-core/master/php/classLanguage.html

ParserOutput https://doc.wikimedia.org/mediawiki-core/master/php/classParserOutput.html

Please correct or realign. Thanks. --Christian 🇫🇷 FR (talk) 22:45, 7 December 2024 (UTC)Reply