Page MenuHomePhabricator

Class "sortable" does not work with "mw-collapsible mw-collapsed" in some tables.
Closed, DuplicatePublic

Description

In sortable initially collapsed tables with two header rows, the second header row is not displayed when expanding the table:

{| class="wikitable sortable mw-collapsible mw-collapsed"
! colspan = 3 | sortable collapsible collapsed

-

! sortable header 1 sortable header 2 sortable header 3

-
1CY
-
2BZ
-
3AX
}

Sortable initially expanded tables works as expected. Collapsing and expanding the template shows all rows:

{| class="wikitable sortable mw-collapsible"
! colspan = 3 | sortable collapsible uncollapsed

-

! sortable header 1 sortable header 2 sortable header 3

-
1CY
-
2BZ
-
3AX
}

Initially collapsed tables that are not sortable also works. Showing all rows when expanding:

{| class="wikitable mw-collapsible mw-collapsed"
! colspan = 3 | collapsible collapsed

-

! normal header 1 normal header 2 normal header 3

-
1CY
-
2BZ
-
3AX
}

Version: 1.24rc
Severity: normal

Details

Reference
bz66948