https://bugzilla.wikimedia.org/show_bug.cgi?id=36564

       Web browser: ---
             Bug #: 36564
           Summary: TOC cannot be pre-collapsed on a per-page basis
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: ResourceLoader
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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__.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to