Ticket #1417 (closed Bug: fixed)

Opened 7 years ago

Last modified 6 years ago

<gallery> tag is getting broken

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

Description

I just installed FCKeditor within MediaWiki 1.10.1 last week and noticed a bug today. It would appear that it doesn't honor the <gallery> tag.

http://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial#New_MediaWiki_.3Cgallery.3E_tag

The following code gets turned into something completely different within the editor.

Original Wikicode: <gallery> Image:Darth Vader Bldg 1.jpg|The "Darth Vader Building" viewed from the East. Image:Darth Vader Bldg 01.jpg|Seen again from the East. Image:Seattle 4th Avenue north from Virginia.jpg|Looking north from the corner of Fourth and Virginia in Downtown Seattle. </gallery>

FCKeditor-translated code:

{| cellspacing="0" cellpadding="0" class="gallery"

| <div class="gallerybox" style="width: 150px;"><div class="thumb" style="padding: 28px 0pt; width: 150px;">[[Image:Darth Vader Bldg 1.jpg|[[Image:]]]]</div> <div class="gallerytext"> The "Darth Vader Building" viewed from the East. </div></div> | <div class="gallerybox" style="width: 150px;"><div class="thumb" style="padding: 28px 0pt; width: 150px;">[[Image:Darth Vader Bldg 01.jpg|[[Image:]]]]</div> <div class="gallerytext"> Seen again from the East. </div></div> | <div class="gallerybox" style="width: 150px;"><div class="thumb" style="padding: 13px 0pt; width: 150px;">[[Image:Seattle 4th Avenue north from Virginia.jpg|[[Image:]]]]</div> <div class="gallerytext"> Looking north from the corner of Fourth and Virginia in Downtown Seattle. </div></div> |}

Change History

comment:1 Changed 7 years ago by fredck

  • Summary changed from MediaWiki+ to <gallery> tag is getting broken

comment:2 Changed 7 years ago by w.olchawa

  • Keywords Confirmed added
  • Version changed from FCKeditor 2.5 Beta to SVN

Confirmed in IE,IE7 and FF2

comment:3 Changed 6 years ago by wwalc

  • Status changed from new to closed
  • Resolution set to fixed

Fixed with [1836].

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy