There are 4 comments.
 
 
MediaWiki tools / cid:jira-generated-image-avatar-31999963-bc66-4887-bcc7-0172810e4dad MEDIAWIKI-125 Open

Table Header not imported

 
View issue   ยท   Add comment
 

4 comments

 
cid:jira-generated-image-avatar-3ebf7e07-d930-4435-b71d-3b57c53e32ed Thomas Mortagne on 05/May/25 14:38
 

It would be interesting to indicate the exact mediawiki content.

For example, there seems to be a unit test with the following mediawiki content which seems to work fine:

{|
!col1
!col2
|-
|cell11
|cell12
|-
|cell21
|cell22
|}
 
cid:jira-generated-image-avatar-3ebf7e07-d930-4435-b71d-3b57c53e32ed Thomas Mortagne on 05/May/25 14:40
 
It would be interesting to indicate the exact mediawiki content.

For example, there seems to be a unit test with the following mediawiki content which seems to work fine:

{noformat}
{|
!col1
!col2
|-
|cell11
|cell12
|-
|cell21
|cell22
|}
{noformat}


(the unit test is executed with XWiki Rendering 11.10, so it's possible there is a change that cause this use case to break for some reason on more recent versions of XWiki)
 
cid:jira-generated-image-avatar-3ebf7e07-d930-4435-b71d-3b57c53e32ed Thomas Mortagne on 05/May/25 14:42
 
It would be interesting to indicate the exact mediawiki content.

For example, there seems to be
a [2 unit tests|https://github.com/xwiki-contrib/mediawiki/tree/master/mediawiki-syntax/mediawiki-syntax-bliki/src/ test /resources/mediawiki16/simple/table] checking that with the following mediawiki content which seems to work fine inputs :

{noformat}
{|
!col1
!col2
|-
|cell11
|cell12
|-
|cell21
|cell22
|}
{noformat}

{noformat}
<table>
  <tr>
    <th>col1</th>
    <th>col2</th>
  </tr>
  <tr>
    <td>cell11</td>
    <td>cell12</td>
  </tr>
  <tr>
    <td>cell21</td>
    <td>cell22</td>
  </tr>
</table>
{noformat}

(the unit test is executed with XWiki Rendering 11.10, so it's possible there is a change that cause this use case to break for some reason on more recent versions of XWiki)
 
cid:jira-generated-image-avatar-3ebf7e07-d930-4435-b71d-3b57c53e32ed Thomas Mortagne on 05/May/25 14:43
 
It would be interesting to indicate the exact mediawiki content you used .

For example, there seems to be [2 unit tests|https://github.com/xwiki-contrib/mediawiki/tree/master/mediawiki-syntax/mediawiki-syntax-bliki/src/test/resources/mediawiki16/simple/table] checking that with the following mediawiki inputs:

{noformat}
{|
!col1
!col2
|-
|cell11
|cell12
|-
|cell21
|cell22
|}
{noformat}

{noformat}
<table>
  <tr>
    <th>col1</th>
    <th>col2</th>
  </tr>
  <tr>
    <td>cell11</td>
    <td>cell12</td>
  </tr>
  <tr>
    <td>cell21</td>
    <td>cell22</td>
  </tr>
</table>
{noformat}

(the unit test is executed with XWiki Rendering 11.10, so it's possible there is a change that cause this use case to break for some reason on more recent versions of XWiki)