Last modified: 2010-05-15 15:32:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2206, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 206 - Links in headings not shown in TOC
Links in headings not shown in TOC
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 202
  Show dependency treegraph
Reported: 2004-08-24 17:03 UTC by Erik Moeller
Modified: 2010-05-15 15:32 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Erik Moeller 2004-08-24 17:03:17 UTC
See URL - links aren't shown in the TOC. This must be a post-1.3 regression,
works fine on live site.
Comment 1 Mark Wojtowicz 2004-08-25 15:51:14 UTC
In internalParse():
* replaceInternalLinks() calls makeLinkObj(), which converts bracketed link text
into "<!--LINK ..." format
* formatHeadings() removes HTML from toclines (removing those "<!--LINK "s)
Comment 2 JeLuF 2004-08-25 15:58:35 UTC
Should formatHeadings be done after resolving the links?
Alternatively, formatHeadings has to become <!--LINK aware.
Comment 3 JeLuF 2004-08-26 18:49:19 UTC
Fixed in Parser.php, rev 1.253

Note You need to log in before you can comment on or make changes to this bug.