Opened 16 years ago

Closed 16 years ago

#2147 closed Bug (duplicate)

Template information on tables dropped when switching from Wikitext to WYSIWYG

Reported by: Jorge Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Cc:


Summary: FCKeditor is behaving incorrectly when working with templates, it'll drop the template information put on tables.

Tested against latest version, and with

Similar to Ticket #2069, still not working when used as described below:


Go edit any page, go to wiki text, type:

{|{{Prettytable}}| {{Hl2}} | Cell 1 | {{Hl2}} | Cell 2 |}

Click on Wikitext button again, no blue colors right? get back to Wikitext, BAM, templates lost.

Contents of prettytable template:

border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"

hl2 template:


Software information:

MediaWiki 1.12.0 PHP 5.2.5 Linux Box, Firefox Browser

Also tried with the installation on, same thing


Write wikitext with template information:

By looking at the code for the template, it is abvious that the table should have some color:

Go back to the wikitext, where are our template calls?

What if we put the template contents directly?

Works correctly:

Sample Data:


Text case file:


Change History (3)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added; Templates removed wikitext removed
Version: SVN

Confirmed using MW 1.12.0

comment:2 Changed 16 years ago by Wiktor Walc

Corrected sample:

| {{Hl2}} | Cell 1 
| {{Hl2}} | Cell 2 

This is a dup of #2069. I'm committing it now, new package should be available in an hour.

comment:3 Changed 16 years ago by Wiktor Walc

Resolution: duplicate
Status: newclosed
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