Hello,
I'm having a problem with editor running on mediawiki 1.11.0
For some reason image caption is not displayed bellow image after I submit the editor contents. actually the caption is not even displayed in editor as well.
Any suggestion people? Any info would be appreciated.
this is an example with caption text using the following syntax
[[Image:imagename.jpg|center|thumb|500px|CAPTION_TEXT]]
Re: [Mediawiki] Image caption not displayed bellow image
If I add a caption using wikitext or the FCKeditor and click save, you see the caption. If you then edit the article again, and click save, the caption is gone. It's like the current captoins are not loaded into the wysiwyg when it starts up, so when you click save, it disappears.
The only way around it is to re-add all of the captions each time you save a page, which is crazy.
Has this bug been reported?
Re: [Mediawiki] Image caption not displayed bellow image
Okay, I tried to recreate the same problem on the wiki here, and I've isolated the problem.
You can see my test page here: http://mediawiki.fckeditor.net/index.ph ... e_captions
I've been testing it in my sandbox at http://menscookbook.com/Sandbox and it seems to only happen when there are html tags in the caption. Also, if you use wiki formating such as bold and italics, those get stripped from the caption the next time you edit the page.
Click on the image, and then click on the Image button to see what I'm talking about...
Any ideas on how to fix this one????
TIA
Re: [Mediawiki] Image caption not displayed bellow image
MediaWiki tries to be smart regarding alt-text, I put a fix on: http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide