Display the Table of Contents (ToC) during edit


The Table of Contents (ToC) vanishes in edit-mode.

Seeing the complete ToC during editing, can help prevent mistakes in both content and article-layout.

This can be particularly problematic in articles that have long infoboxes or many images near the top. We're /meant/ to space items, so that having the ToC collapsed/hidden doesn't negatively effect the layout, but this is often not the case in pages at less than Featured quality.

Version: unspecified
Severity: enhancement
See Also:

bzimport set Reference to bz49224.
Quiddity created this task.Via LegacyJun 6 2013, 12:44 AM
Jdforrester-WMF added a comment.Via ConduitJun 6 2013, 2:28 AM

Agreed, this is something we want to do. Right now the focus is getting the initial editing tools out for the beta, but this should be something we get to reasonably soon after that.

Jdforrester-WMF added a comment.Via ConduitMar 13 2014, 2:43 AM

Being done in gerrit 108945.

Jdforrester-WMF added a comment.Via ConduitApr 16 2014, 7:25 PM

The core ToC widget is now merged, but doesn't insert in the right location so is disabled in production until that is fixed. Resetting.

Jdforrester-WMF assigned this task to Esanders.Via WebNov 24 2014, 1:22 AM
Jdforrester-WMF set Security to None.
Jdforrester-WMF moved this task to TR5: Rich media tools on the VisualEditor workboard.
Jdforrester-WMF changed the title from "VisualEditor: Display the Table of Contents (ToC) during edit" to "Display the Table of Contents (ToC) during edit".Via WebNov 24 2014, 3:49 PM
Jdforrester-WMF lowered the priority of this task from "High" to "Low".Via WebJan 9 2015, 10:33 PM
Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebJan 15 2015, 12:09 AM
Trizek-WMF added a subscriber: Trizek-WMF.Via WebJun 1 2015, 8:14 PM
Jdforrester-WMF placed this task up for grabs.Via WebWed, Sep 16, 11:36 PM
Jdforrester-WMF set Story Points to 8.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptVia HeraldWed, Sep 16, 11:36 PM
Trizek-WMF added a comment.Via WebThu, Sep 17, 10:06 AM

While editing, is it possible to display a message when people click on the TOC? Like "TOC is automatically created with section titles. To edit TOC, edit these titles.")
Based on my experience, people sometimes ask to have different items on the TOC than in the sections titles. As they can edit everything on the page with VE, they may believe they can edit the TOC too.

Add Comment