<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19135</bug_id>
          
          <creation_ts>2012-09-29 10:24:02 +0000</creation_ts>
          <short_desc>TOC are not generated properly</short_desc>
          <delta_ts>2012-10-04 00:26:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>webplatform.org</product>
          <component>infrastructure</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=19234</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremie Patonnier">jeremie.patonnier</reporter>
          <assigned_to name="Doug Schepers">schepers</assigned_to>
          <cc>jswisher</cc>
    
    <cc>peterlubbers</cc>
    
    <cc>ssweeney</cc>
    
    <cc>team-webplatform-admin</cc>
          
          <qa_contact name="public-webplatform-bugs list">public-webplatform-bugs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74867</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremie Patonnier">jeremie.patonnier</who>
    <bug_when>2012-09-29 10:24:02 +0000</bug_when>
    <thetext>See http://docs.webplatform.org/wiki/HTML/Elements_(alphabetical_order)

The TOC should be a list of letters.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75027</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Schepers">schepers</who>
    <bug_when>2012-10-02 06:36:22 +0000</bug_when>
    <thetext>This has something to do with the templates...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75167</commentid>
    <comment_count>2</comment_count>
    <who name="">peterlubbers</who>
    <bug_when>2012-10-02 23:55:42 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75170</commentid>
    <comment_count>3</comment_count>
    <who name="">peterlubbers</who>
    <bug_when>2012-10-03 00:11:40 +0000</bug_when>
    <thetext>*** Bug 19123 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75177</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Sweeney">ssweeney</who>
    <bug_when>2012-10-03 01:00:00 +0000</bug_when>
    <thetext>This bug is low-pri, the related:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19234

... is the hi-pri.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75285</commentid>
    <comment_count>5</comment_count>
    <who name="Doug Schepers">schepers</who>
    <bug_when>2012-10-04 00:26:49 +0000</bug_when>
    <thetext>This is because I&apos;m making a custom TOC in the skin using 
  $sections = $parseroutput-&gt;getSections()
with 
  $wgHooks[&apos;OutputPageParserOutput&apos;]

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&apos;m investigating this, but the TOC is disabled for now</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>