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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 206 - Links in headings not shown in TOC
Links in headings not shown in TOC
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.4.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.wikipedia.org/wiki/Poo
:
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: ---


Attachments

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.


Navigation
Links