https://bugzilla.wikimedia.org/show_bug.cgi?id=23941
Summary: FCKeditor editing existing <imagemep> pages with
additional info in Image: line causes error
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: Normal
Component: FCKeditor
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi,
This is a superlative editor. Thanks to all for keeping this going so well.
I have a problem that when I try to use FCKeditor to change existing pages
created through the MediaWiki standard editor. When I fire up the editor, and
check the 'wikitext' in a page containing an existing <imagemap> tag I have the
problem that the FCK converter to wikitext does not consider the additional
pipes following the Image: command.
For example :
Original Wikitext
<imagemap>
Image:SF_BP_L3.jpg|thumb|800px|Name of my image
rect 124 106 208 122 [[link to part a]]
rect 124 140 332 156 [[link to part b]]
</imagemap>
FCKeditor converted Wikitext
<imagemap>
Image:SF_BP_L3.jpg
thumb|800px|Name of my imagerect 124 106 208 122 [[link to part a]]
rect 124 140 332 156 [[link to part b]]
</imagemap>
So if i save the above after making some changes in some other part of the page
I get the error:
Error Message:
Error: unrecognised shape at line 3, each line must start with one of: default,
rect, circle or poly
As you can see the text after the file extension .jpg in the above is moved to
the next line and concatenated with the firsts image-map-reference line thus
making the image not renderable
the htmll code looks like this
<img _fck_mw_filename="SCP_BP_L2.jpg" _sik_img_map="thumb|1000 px|Name of my
imagerect 73 146 256 219 link to part arect 275 146 459 216 link to part b.....
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l