Last modified: 2014-01-05 10:59:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58867, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56867 - VisualEditor: Allow users to set/edit __FORCETOC__ status in the page metadata panel
VisualEditor: Allow users to set/edit __FORCETOC__ status in the page metadat...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Low enhancement
: VE-deploy-2014-01-09
Assigned To: James Forrester
:
Depends on:
Blocks: 56865
  Show dependency treegraph
 
Reported: 2013-11-10 16:33 UTC by James Forrester
Modified: 2014-01-05 10:59 UTC (History)
6 users (show)

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


Attachments

Description James Forrester 2013-11-10 16:33:31 UTC
A checkbox, greyed out when there are more than 2 headings(?), setting:

  <meta property="mw:PageProp/forcetoc">
Comment 1 Chris McKenna 2013-11-11 15:57:00 UTC
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.
Comment 2 Gerrit Notification Bot 2013-11-13 03:30:14 UTC
Change 95103 had a related patch set uploaded by Jforrester:
[WIP] Let users set #REDIRECT, __NOTOC__, & __FORCETOC__

https://gerrit.wikimedia.org/r/95103
Comment 3 Gerrit Notification Bot 2014-01-05 10:59:29 UTC
Change 95103 merged by jenkins-bot:
Let users set __NOTOC__ & __FORCETOC__ status

https://gerrit.wikimedia.org/r/95103

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


Navigation
Links