Opened 15 years ago

Closed 15 years ago

#2808 closed Bug (fixed)

| changed to | in a table

Reported by: Andreas Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version:
Keywords: Confirmed Cc:

Description

Good evening!

I was typing the following line into the cell of a table:

[[Media:test.pdf|test]]

When saved this should look like this:

test

However, it stays [[Media:test.pdf|test]] because FCKeditor changed the line to [[Media:test.pdf|test]] (only in a table).

Thanks! az

Change History (6)

comment:1 Changed 15 years ago by Artur Formella

Keywords: Pending WorksForMe added

I was unable to reproduce this bug. (FF3, MediaWiki1.13, FCKeditor 2.6.3)

[[Media:Test.pdf|test]] <br> 

{| width="200" cellspacing="1" cellpadding="1" border="1"
|-
| 
| 
|-
| [[Media:Test.pdf|test]] 
| 
|-
| 
| 
|}

Result:

<p><a title="Test.pdf" class="new" href="/mediawiki113/index.php?title=Specjalna:Prze%C5%9Blij&amp;wpDestFile=Test.pdf">test</a> <br/> 
</p>
<table width="200" cellspacing="1" cellpadding="1" border="1">
<tbody><tr>
<td>
</td><td>
</td></tr>
<tr>
<td> <a title="Test.pdf" class="new" href="/mediawiki113/index.php?title=Specjalna:Prze%C5%9Blij&amp;wpDestFile=Test.pdf">test</a>
</td><td>
</td></tr>
<tr>
<td>
</td><td>
</td></tr></tbody></table>

Could you provide more information?

comment:2 Changed 15 years ago by Andreas

Create a table like that:

{| width="100%" cellspacing="0" cellpadding="4" border="2" style="border: 1px solid rgb(170, 170, 170); margin-top: 1em; margin-bottom: 1em; border-collapse: collapse;" class="wikitable sortable"

! Name1 ! Name2 ! Name3 ! class="unsortable" | Name4 ! class="unsortable" | Name5

| 1 | 2 | 3 | 4 | 5 |}

Change to FCKeditor. Replace e.g. 2 with [[Media:test.pdf|test]]

Change to Wikitext and back again.

[[Media:test.pdf|test]] is changed to [[Media:test.pdf&#124;test]]

FF3 Mediawiki 13.3 fckeditor/mw-extension

comment:3 Changed 15 years ago by Artur Formella

comment:4 in reply to:  3 Changed 15 years ago by Andreas

I put a table in the sandbox. Again the | has been changed to &#124;

comment:5 Changed 15 years ago by Wiktor Walc

Keywords: Confirmed added; Pending WorksForMe removed

Confirmed, to reproduce, just follow these steps:

  1. Create table in wikiText mode:
    {| width="100%" cellspacing="0" cellpadding="4" border="2" style="border:
     1px solid rgb(170, 170, 170); margin-top: 1em; margin-bottom: 1em; border-
     collapse: collapse;" class="wikitable sortable"
     |- style="background-color: lightblue;"
     ! Name1
     ! Name2
     ! Name3
     ! class="unsortable" | Name4
     ! class="unsortable" | Name5
     |-
     | 1
     | 2
     | 3
     | 4
     | 5
     |}
    
  2. Switch to WYSIWYG mode
  1. Paste [[Media:test.pdf|test]] in any cell (do not do this in WikiText mode, but in the WYSIWYG mode)
  1. Switch to WikiText and back again
  1. [[Media:test.pdf|test]] is changed into [[Media:test.pdf&#124;test]]
  1. If you paste the same text in WYSIWYG mode, but outside the table, the pipe will not be converted to entity.

comment:6 Changed 15 years ago by Wiktor Walc

Resolution: fixed
Status: newclosed

Fixed with [3238].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy