﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2147	Template information on tables dropped when switching from Wikitext to WYSIWYG	Jorge		"'''Summary:''' FCKeditor is behaving incorrectly when working with templates, it'll drop the template information put on tables.

Tested against latest version, and with http://mediawiki.fckeditor.net/nightly/svn/mediawiki_fckeditor_ext_N.tar.gz

Similar to Ticket #2069, still not working when used as described below:

'''Steps:'''

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:''

bgcolor=""#A7C1F2""

'''Software information:'''

MediaWiki 1.12.0
PHP 5.2.5
Linux Box, Firefox Browser 2.0.0.11

Also tried with the installation on mediawiki.fckeditor.net, same thing

'''Screenshots:'''

Write wikitext with template information:
http://img90.imageshack.us/img90/9539/wegottemplatessf8.png

By looking at the code for the template, it is abvious that the table should have some color:
http://img90.imageshack.us/img90/7632/shouldhavecoloryp7.png

Go back to the wikitext, where are our template calls?
http://img90.imageshack.us/img90/9396/templateinfogonekp7.png

What if we put the template contents directly?
http://img90.imageshack.us/img90/350/whatifwepf0.png

Works correctly:
http://img91.imageshack.us/img91/8629/workedthistimecp0.png

'''Sample Data:'''

None

'''Text case file:'''

None"	Bug	closed	Normal		Project : MediaWiki+FCKeditor	SVN (FCKeditor) - Retired	duplicate	Confirmed	
