Last modified: 2014-10-27 13:52:17 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 T20508, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18508 - FORCENOTOC : more granular toc control for transclusion
FORCENOTOC : more granular toc control for transclusion
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-18 21:31 UTC by SJ
Modified: 2014-10-27 13:52 UTC (History)
0 users

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


Attachments

Description SJ 2009-04-18 21:31:20 UTC
Currently, the first __TOC__ to appear in a page overrules any __NOTOC__ as well as the implicit table of contents rendering above the first section.

When transcluding a number of pages, which may themselves contain such directives, it becomes useful for the parent page to be able to force layout details of the resulting text + transclusions.

For this purpose, a __FORCENOTOC__ directive would be useful, which would lock the page into a NOTOC mode even if __TOC__ directives appeared later in the page.  A __TOC__ placed at the top of the page could still lock the page into TOC mode, if desired.
Comment 1 SJ 2009-04-18 21:32:23 UTC
See also #13090 for related ideas of supporting aggregated TOCs without transclusion.
Comment 2 Andre Klapper 2014-10-27 13:52:17 UTC
Is there a specific public page where this problem is exposed?
Wondering how common this situation is...

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


Navigation
Links