VisualEditor: Allow users to set/edit __FORCETOC__ status in the page metadata panel
Closed, ResolvedPublic


A checkbox, greyed out when there are more than 2 headings(?), setting:

<meta property="mw:PageProp/forcetoc">

Version: unspecified
Severity: enhancement

bzimport set Reference to bz56867.
Jdforrester-WMF created this task.Via LegacyNov 10 2013, 4:33 PM
Thryduulf added a comment.Via ConduitNov 11 2013, 3:57 PM

Perhaps better than this and bug 56866 would be a radio button/dropdown with three options for TOC:
Include an automatic table of contents on this page:

  • Never
  • When there are three or more headings (default)
  • Always

If different wikis (can) have different settings for the number of headings before a TOC then the middle option will need to read that setting.

I say "automatic" above as manual TOC templates such as [[template:Compact ToC]] should always override this setting.

gerritbot added a comment.Via ConduitNov 13 2013, 3:30 AM

Change 95103 had a related patch set uploaded by Jforrester:

gerritbot added a comment.Via ConduitJan 5 2014, 10:59 AM

Change 95103 merged by jenkins-bot:
Let users set NOTOC & FORCETOC status

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.