Last modified: 2010-05-15 15:33:55 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 1131 - Internal links in section headings break table of contents
Internal links in section headings break table of contents
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.4.x
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Wikipe...
: parser, patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-19 03:15 UTC by Leah
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Attachments
Bug fix, look like some change in 1.4 add the need to replace also IWLINK in headings (1.14 KB, patch)
2004-12-21 05:59 UTC, Philippe Elie
Details

Description Leah 2004-12-19 03:15:38 UTC
The separate sections are still listed, but their names do not appear if their
heading is an internal link.  The table of contents ends up looking like this:

1
  1.1
    1.1.1
      1.1.1.1
        1.1.1.1.1
        1.1.1.1.2
  1.2
    1.2.1
Comment 1 Philippe Elie 2004-12-21 05:59:24 UTC
Created attachment 179 [details]
Bug fix, look like some change in 1.4 add the need to replace also IWLINK in headings

wgInterwikiLinkHolders must be used to replace == [[w:link]] == interwiki links
in headings, patch apply to 1.4 cvs, bugs not present in 1.3, perhaps needed
for 1.5 too. Tested on 1.4 cvs with my local wiki

I'm not familiar with the way the parser works, I think it's the right way.
Comment 2 JeLuF 2005-01-22 09:37:47 UTC
Fixed in CVS HEAD and REL1_4
Deployed to wikipedia.org

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


Navigation
Links