Opened 14 years ago

Closed 12 years ago

#5214 closed Bug (invalid)

Linked images does not proper work with FCKeditor

Reported by: filburt Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version:
Keywords: Cc:


Since MW 1.14 it is possible to link images with the syntax:

[[file: example.png|50px|link=example]]

If editing a page with the FCKeditor these links are destroyed.


Attachments (2)

FCK_img_link_fix.patch (1.9 KB) - added by Tami 13 years ago.
FCK_img_link_fix-2.patch (8.4 KB) - added by Tami 13 years ago.
extended and reworked patch

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Component: GeneralProject : MediaWiki+FCKeditor

comment:2 Changed 14 years ago by Niels

I can confirm this bug, running mediawiki from trunk and fckeditor+mediawiki from the mediawiki extensions trunk.

Changed 13 years ago by Tami

Attachment: FCK_img_link_fix.patch added

comment:3 Changed 13 years ago by Tami

I also had trouble with this bug.

I have attached a partial fix, as editing of links in FCKeditor is still not possible but at least the links get no longer destroyed.

Depending on use case one like to remove

imgCaption = '';

from FCKeditor/plugins/mediawiki/fckplugin.js

Changed 13 years ago by Tami

Attachment: FCK_img_link_fix-2.patch added

extended and reworked patch

comment:4 Changed 13 years ago by Tami

I have reworked and extended the patch, it now has following functionality

  • no undefined index warning (issue with first patch)
  • links in images works (internal+external links)
  • links in images can now be edited in FCKeditor (including suggestions)
  • alt text gets not messed up anymore
  • image height can be set without a image width ( |x100px| Wikisyntax )

comment:5 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible.

Last edited 12 years ago by Jakub Ś (previous) (diff)
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