Opened 16 years ago
Closed 13 years ago
#3269 closed Bug (invalid)
FCKEditor for Mediawiki
Reported by: | Niels | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Project : MediaWiki+FCKeditor | Version: | FCKeditor 2.6.4 Beta |
Keywords: | Cc: |
Description
Once an image is added, if you switch back to wikitext mode, and then switch back to rich editor mode, the image disappears, and the text [[Image:]] is all that remains. This happens reliably, though it's not clear to me if it's event-driven or based on some sort of count somewhere.
Change History (15)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Component: | General → Project : MediaWiki+FCKeditor |
---|---|
Keywords: | mediawiki image images pictures removed |
Milestone: | CKEditor 3.x |
comment:3 Changed 16 years ago by
Keywords: | Pending WorksForMe added |
---|
Copied from #3270:
"looking in mediawiki/fckplugin.js, I can see where the image is constructed (starting at line 524, with "imgName"). That all seems okay. I wonder if it happens when you try to recover the _fck_mw_filename, but if that variable hasn't been set, then there's nothing for the mediawiki/fckplugin.js to construct with.
I don't know. I'm groping around in the dark here."
Are you running the latest version of FCKeditor extension available here: http://mediawiki.fckeditor.net/ ? Which MediaWiki version are you using? Does it happen in all browsers?
comment:4 Changed 16 years ago by
Are you running the latest version of FCKeditor extension?
You mean version 3368 in SVN? Not sure, how would I check? The "About FCKEditor" message says "version [development] Build [dev]"
It works on a remote wiki: http://navyhpsp.net/wiki/FCKEditorImageTest
It breaks after a couple of cycles on localhost: http://localhost/wiki/FCKEditorImageTest
comment:5 follow-up: 6 Changed 16 years ago by
Steps to reproduce on localhost:
1) upload image 2) insert image into article 3) Switch to wikitext view 4) Switch back to richtext view 5) Switch to wikitext view: broken
or
1) upload image 2) insert image into article 3) Save 4) Edit 5) Switch to wikitext view: broken
comment:6 follow-ups: 7 11 Changed 16 years ago by
I can reproduce reliably on 2.6.4 B21629, MediaWiki 1.14.0 using IE8. Will test on other browsers tonight.
comment:9 Changed 16 years ago by
I have tried a vanilla MW 1.14.0 installation with just the FCKeditor extension enabled and $wgEnableUploads
set to true (on Chrome, IE7/IE8, FF2, FF3 with no extra extensions).
The FCKeditor extension has been downloaded here: http://mediawiki.fckeditor.net/nightly/svn/mediawiki_fckeditor_ext_N.zip
I am unable to reproduce it locally (WAMP) - any hints on how to trigger this bug? Maybe you're using file with a strange name or something like that?
comment:10 Changed 16 years ago by
Also happens, reliably, in Opera (9.26 . . . upgrading to 9.64, we'll see).
It happens with every [[Image:]] tag, regardless. JPG, SVG, GIF, doesn't matter. Just follow the steps I outlined above. I use this instance of mediawiki with fckeditor hundreds of times a day, because it's where I keep my medical school notes. It *doesn't* happen with galleries.
FWIW I'm running this on a Mac. I'll try running it on a local linux box tonight. I'll also try running it on across a LAN instead of internet.
comment:11 Changed 16 years ago by
Replying to elsandalos:
I can reproduce reliably on 2.6.4 B21629, MediaWiki 1.14.0 using IE8. Will test on other browsers tonight.
For those wanting to replicate this, i am using the current version of the turnkey linux mediawiki appliance, but i have upgraded the included FCKEditor with 2.6.4 B21629 to get rid of another bug.
comment:12 Changed 16 years ago by
I'm using 2.6.4 "trunk" from SVN, checked out either yesterday or the day before (can't recall, I'm running on not much sleep working in the ICU), and MediaWiki/trunk, checked out at the same time. The latest revision in the svn.fckeditor.net repo at the time was 3368. So I downloaded as close to that as possible. (How do I get the build number?)
comment:13 Changed 16 years ago by
Upgraded my OS X mediawiki to trunk revision 49359. Image handling still breaks on localhost.
I installed Ubuntu's 8.10 mediawiki package and added fckeditor from svn (mediawiki trunk, fckeditor 2.6.4), and it *works*. Hmmmmmmmmmmmm . . .
Why would this break on localhost in three different versions of mediawiki under OS X and four different browsers, but it works in localhost LAMP and WAMP? The server is just sending the ck package to the client, right? Or is there server-side work being done too? FWIW I'm using apache2 and php5 from macports.
comment:14 Changed 16 years ago by
some of you may find this helpful
http://dev.fckeditor.net/ticket/2624
I had the same issue and it was fixed with the above solution , though imo it's a temp fix as you idealy want to leave on the clean html settting i would think
comment:15 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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.
I wish I could change the title to Images drop out in FCKeditor for Mediawiki