Opened 16 years ago

Closed 16 years ago

#1417 closed Bug (fixed)

<gallery> tag is getting broken

Reported by: Bernie Case 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 (3)

comment:1 Changed 16 years ago by Frederico Caldeira Knabben

Summary: MediaWiki+<gallery> tag is getting broken

comment:2 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added
Version: FCKeditor 2.5 BetaSVN

Confirmed in IE,IE7 and FF2

comment:3 Changed 16 years ago by Wiktor Walc

Resolution: fixed
Status: newclosed

Fixed with [1836].

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