Opened 8 years ago

Closed 8 years ago

#2147 closed Bug (duplicate)

Template information on tables dropped when switching from Wikitext to WYSIWYG

Reported by: jfierro 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 8 years ago by w.olchawa

  • Keywords Confirmed added; Templates removed wikitext removed
  • Version set to SVN

Confirmed using MW 1.12.0

comment:2 Changed 8 years ago by wwalc

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 8 years ago by wwalc

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy