This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19135 - TOC are not generated properly
Summary: TOC are not generated properly
Status: NEW
Alias: None
Product: webplatform.org
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: PC All
: P2 major
Target Milestone: ---
Assignee: Doug Schepers
QA Contact: public-webplatform-bugs list
URL:
Whiteboard:
Keywords:
: 19123 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-29 10:24 UTC by Jeremie Patonnier
Modified: 2012-10-04 00:26 UTC (History)
4 users (show)

See Also:


Attachments

Description Jeremie Patonnier 2012-09-29 10:24:02 UTC
See http://docs.webplatform.org/wiki/HTML/Elements_(alphabetical_order)

The TOC should be a list of letters.
Comment 1 Doug Schepers 2012-10-02 06:36:22 UTC
This has something to do with the templates...
Comment 2 peterlubbers 2012-10-02 23:55:42 UTC
Based on some further investigation, it looks like the links that are generated are correct if you are in EDIT mode for the page, not in the view mode. This has to be fixed in the TOC extension.
Comment 3 peterlubbers 2012-10-03 00:11:40 UTC
*** Bug 19123 has been marked as a duplicate of this bug. ***
Comment 4 Scott Sweeney 2012-10-03 01:00:00 UTC
This bug is low-pri, the related:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19234

... is the hi-pri.
Comment 5 Doug Schepers 2012-10-04 00:26:49 UTC
This is because I'm making a custom TOC in the skin using 
  $sections = $parseroutput->getSections()
with 
  $wgHooks['OutputPageParserOutput']

This works fine on pages without templates, but when I use it on pages with templates, it only outputs the template headings... the regular TOC (when enabled in prefs) works correctly...

I'm investigating this, but the TOC is disabled for now