Last modified: 2012-05-06 05:33:51 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 T38564, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36564 - Add magic word to make TOC collapsed by default
Add magic word to make TOC collapsed by default
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-06 05:10 UTC by Amgine
Modified: 2012-05-06 05:33 UTC (History)
2 users (show)

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


Attachments

Description Amgine 2012-05-06 05:10:35 UTC
Current (1.20x) __TOC__ is collapsible, with user's preference stored via cookie. This prevents using wrapper elements with class="mw-collapsed" to pre-collapse the TOC on a per-page or templated basis.

Krinkle suggested it would be trivial to move collapsible-collapsed to an extension. The same should also be true to move both collapsible and collapsible-collapsed. (Suggested syntax was {{#toc|default=collapsed}})

I suggest an additional Magic Word, such as __TOCC__ or __TOCCOLLAPSED__, which at least is similar/intuitive for users already aware of __TOC__.

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


Navigation
Links