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

            Bug ID: 66948
           Summary: Class "sortable" does not work with "mw-collapsible
                    mw-collapsed" in some tables.
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

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
|-
| 1 || C || Y
|-
| 2 || B || Z
|-
| 3 || A || X
|}


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
|-
| 1 || C || Y
|-
| 2 || B || Z
|-
| 3 || A || X
|}


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
|-
| 1 || C || Y
|-
| 2 || B || Z
|-
| 3 || A || X
|}

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