Page MenuHomePhabricator

Page numbers display inconsistently inside collapsible sections
Open, Needs TriagePublicBUG REPORT

Description

If pages are transcluded inside a collapsible div that starts out collapsed, the page numbers will not be visible if the div is expanded.

Example code for enWS:

<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible-content">
<pages index="The Hunting of the Snark (1876).djvu" from="13" to="15" />
<references />
</div>
</div>

If the div starts out expanded, the page number for the first page is always visible.

<div class="mw-collapsible">
<div class="mw-collapsible-content">
<pages index="The Hunting of the Snark (1876).djvu" from="13" to="15" />
<references />
</div>
</div>

Whether the div starts out collapsed or expanded, all of the page numbers should be visible when the div is expanded, and none should be visible when the div is collapsed.