Extension talk:FCKeditor (Official)/Archive 2

Archived discussion: 1

Please post new topics here, with the newest posts being at the bottom of the page.

Disturbing SMW (Semantic Mediawiki) syntax
FCKeditor is a great tool, but it gives me a problem. Using the built-in MediaWiki editor, I have coded SMW-syntax. After using the FCKeditor, the syntax is changed. The SMW-syntax has disappeared. My request is to support the syntax of SMW, not changing the SMW-notation Thanks,

FCKeditor.i18n.zh-tw.php
The above message is for Traditional Chinese.

I would like to setup something for my site in the Localsetting.php like following:

Any idea? :-)  --Roc michael 13:08, 16 March 2009 (UTC)


 * Hi Roc michael, I've corrected the file name, since 'zh-tw' is the language code for Taiwan Chinese (‪中文(台灣)‬) and 'zh-hant' is for Traditional Chinese (‪中文(傳統字)‬). If you meant Taiwan Chinese instead of Traditional Chinese, feel free to correct me. :-)


 * FCKeditor.php sets the following values to $wgDefaultUserOptions:

$wgDefaultUserOptions['riched_use_toggle'] = 1; $wgDefaultUserOptions['riched_start_disabled'] = 1; $wgDefaultUserOptions['riched_use_popup'] = 1; $wgDefaultUserOptions['riched_toggle_remember_state'] = 1;


 * This means that by default, FCKeditor starts enabled without popup and that there's no toggle on edit view (I believe). --Jack Phoenix (Contact) 15:03, 16 March 2009 (UTC)


 * Hi Jack:


 * First, Thank for your respond. Then, It's true that 'zh-hant' is for Traditional Chinese (‪中文(傳統字)‬). I am a Chinese in Taiwan(or a Taiwanese) and people in Taiwan use Traditional Chinese. So the message above is not only 'zh-hant' but also 'zh-tw'. Any idea? :-)--Roc michael 16:20, 16 March 2009 (UTC)


 * You're marked as one of the authors in core MessagesZh_tw.php file (localization for Taiwan Chinese), but not in MessagesZh_hant.php file (localization for Traditional Chinese), so maybe this should use 'zh-tw' then? I'm not really sure, maybe someone who's more experienced with l10n & i18n could answer this question better. --Jack Phoenix (Contact) 19:09, 16 March 2009 (UTC)


 * Hi Jack,
 * When I finished the Chinese message file yesterday, I named it "FCKeditor.i18n.zh_tw.php" but nothing happened with the FCKeditor in my site. Until I renamed it become "FCKeditor.i18n.zh-tw.php", it works. So I think it's good to named it "FCKeditor.i18n.zh-tw.php". That's all my think about the name of Chinese message file.
 * I guess that you can make the "FCKeditor.i18n.zh-tw.php" and "MessagesZh-hant.php" use the same message. In the world, not only people in Taiwan use Traditional Chinese but also Hong Kong people do. It's great if anyone dislike the message and try to give us another version. I would like to see anyone to dedicate his(or her) intelligence.--Roc michael 12:11, 17 March 2009 (UTC)


 * Okay, I changed the file name from 'zh-hant' to 'zh-tw' for now. --Jack Phoenix (Contact) 19:51, 17 March 2009 (UTC)


 * Translation added: http://dev.fckeditor.net/changeset/3248, thanks! In the future, plase post new translations here: http://dev.fckeditor.net/

any tips on converting back from an old FCK install?
i.e. converting HTML back to WikiMarkup?

a direct conversion won't work, because some valid wiki elements are mixed with the html generated by the old FCK editor... --Dmb 21:54, 31 March 2009 (UTC)

How to enable zh-tw.js
Hi Jack, I've made another translation flie zh-tw.js and put it in the folder "extensions\FCKeditor\plugins\mediawiki\lang". Then, I edited the fckeditor_config.js as followed:

Finally, I press Ctrl+Shift+R (use Firefox) or Ctrl+F5 (us IE6),but There is no use.

--Roc michael 12:26, 6 April 2009 (UTC)

Ok, The Language file works
After I edited the fckeditor_config.js as followed: The Language file works :-)--Roc michael 13:01, 6 April 2009 (UTC)

Some small issue
svn checkout http://svn.fckeditor.net/MediaWiki/trunk but not svn checkout http://svn.fckeditor.net/MediaWiki/trunk FCKeditor
 * The version of MediaWiki is just 1.14 (or 1.15alpha) not 1.16 now.
 * SVN information should be
 * It's an excellent extension. I like it! Please give me more good news about it. :-) --Roc michael 14:57, 18 May 2009 (UTC)


 * The requirement of MW 1.16 refers to the version available on svn.wikimedia.org; it's a fork of the original FCKeditor extension and it requires 1.16. If you have a wiki running 1.15 or lower version of MW, you can use the extension available from http://svn.fckeditor.net/MediaWiki/trunk. --Jack Phoenix (Contact) 15:14, 18 May 2009 (UTC)

Official Release
Great that this is Beta! This is what we want, ideal. When is this expected to become "stable", and will it be included in Wikipedia? --Robinson Weijman 10:23, 16 June 2009 (UTC)


 * I've got my doubts about this extension, since it seems nobody is answering the questions on this page. --Robinson Weijman 08:26, 8 July 2009 (UTC)


 * Maybe they don't want to take bugs via the discussion page, but wish to use either their, or wikimedia's bugzilla? As far as I can tell, this extension is fairly well supported. --Ryan lane 15:11, 8 July 2009 (UTC)


 * No idea, but I was not submitting a bug but asking when they expect it to be "stable" - not a difficult question if they have a plan. --Robinson Weijman 14:20, 27 July 2009 (UTC)

FCKeditor is changing MW Table Syntax
Great tool, but it's giving me a problem.

Using the built-in MediaWiki editor, I have this code for a table:

After editing a cell in the table, the Syntax is changed to:

My questions are:
 * Why does the editor add the class?
 * Is this necessary?
 * Can it be disabled?

Thanks,

Applicationswhisperer 00:53, 17 June 2009 (UTC)

Hi, ich have the same Problem. Some solution available? My problem is that i use a template to get the table design and the FCK Editor owerwrite it.

use makes categories disappear
i'm currently trying out this extension, and i am not sure, but i think it's making my categories disappear. Bud0011 22:26, 27 July 2009 (UTC)

Wikia still using it, just heavily modified?
I think Wikia is still using this, though they seem to have heavily modded it. Try editing this page in Firefox, and you will see the editor, which - according to this blog post - is based on FCKeditor. It might also work in IE, but the help page about the new editor clearly states that Chrome, Safari, and Opera are still unsupported. It falls back nicely to the regular editor, at least for Chrome. I haven't checked to see if it is enabled on any other Wikia sites, but I doubt it, since - according to the help page again - it only works with the Monaco skin (default, I assume?). Also, the same blog post states that they did modify MediaWiki's core a bit, though most of it is implemented as an extension. Nuck Chorris 0 21:16, 3 August 2009 (UTC)

--

I've verified this by checking wikia's version page. look for the "FCK Integration with MediaWiki". however, the link page which should link to the developers page, links to help page on the wiki.

I don't know why they aren't sharing, it's a very nice interface. :) 150.101.20.46 02:52, 14 September 2009 (UTC)

disappearing thumbnail captions
I am using MW version 1.15 and I have the strange behavior that whenever I edit a page that already has a thumnail with a caption this caption is disappearing when I edit the text with the FCKeditor. If I save in wikitext-mode everything is fine.
 * Same here. Works on 1.15, but keeps loosing all image captions.

It is the same for me. I can write captions and after saving they are diplayed. But doing any edit at the same page and save again, the disapear (also in the wikitext). I'm using MediaWiki 1.15.1, PHP 5.2.10 (cgi), MySQL 5.0.81-log.


 * I can also confirm this behaviour. If I add a caption and save straight away, it seems to work - but if I go back and subsequently edit the same page and save, the image captions all vanish.


 * Additionally the image captions to do not appear under the pictures in the WYSIWYG text area when editing. --CharlesC 17:29, 4 November 2009 (UTC)


 * I can confirm it as well. Does anybody can help or give some more information on that problem? --62.227.178.1 15:12, 5 November 2009 (UTC)


 * Same problem with MW 1.15.1 --84.226.246.87 16:37, 6 November 2009 (UTC)

No go on 1.15
Does not work on 1.15.

Must have a wrong version noted on front page, i.e. 1.16.

Disappointing, looks like it might get trashed by Beta's built in features too. --Nonegiven108 05:20, 17 August 2009 (UTC)


 * Andthepharaohs 12:21, 24 September 2009 (UTC) I downloaded from here as suggested below and installed on 1.15.0 - the editor worked fine, but it screwed up Special:Version which is now empty, so I've had to back out the extension for now.
 * Andthepharaohs 11:38, 25 September 2009 (UTC) I discovered that the problem was due to also having the PathFunctions extension installed - as this is obsolete from 1.15, I removed it and all is well.

FCKeditor+MediaWiki 1.15.1
Hello

Is there any version/revision of FCKeditor+MediaWiki known to run with MediaWiki 1.15.1? I've been looking around on the internet and trying different versions without success.

Thanks for any hints, 00:20, 17 September 2009 (UTC)


 * Use the link under Download via HTTP, that worked for me in MediaWiki 1.15.1, 21 September 2009

Use MediaWiki 1.15.1 + Download via HTTP + Php 5.2.11. The key is the version of PHP. The extension does not work with PHP 5.3.0. 29 September 2009


 * Solved! Edit the function onCustomEditor in file FCKeditor.body.php (it should be in line 206). Change this line:

public function onCustomEditor (&article, &user){
 * to

public function onCustomEditor (article, user){


 * Should work now.

--Gregra 21:17, 5 November 2009 (UTC)

Bug FCKeditor avec médiawiki 1.15.1
Bonjour J'ai installer et essayer l'extension FCKeditor sur ma médiawiki version 1.15.1

l'extension fonctionne mais lorsque je vais sur page spéciale -> version la le contenu de la page version est vide.

j'ai donc tester toutes mes extension et je remarque que quand je retire la ligne:

l'affichage de la page version se fait correctement

il y a donc un conflit entre l'extension FCKeditor et ma wiki

une idée sur le problème et la solution ?

merci --Voice 10:52, 30 September 2009 (UTC)

Is this really free?
Is this extension free? It seems so, but after installation I clicked on the about FCKeditor link and got taken to the CKeditor (note spelling difference) page which includes a CKeditor license page. --Robinson Weijman 15:16, 21 October 2009 (UTC)


 * "CKEditor is distributed under the GPL, LGPL and MPL open source licenses." Sounds free to me. —Emufarmers(T 00:06, 22 October 2009 (UTC)


 * That's what I thought until I read the CKeditor license page. So, thanks for the answer but "sounds free" is not good enough.  I need to know for sure (for a company wiki).  Here's the blurb:  Corporate Web Sites: Licenses CKEditor to be used inside pages of all web sites owned or produced by your company.  $850  --Robinson Weijman 11:22, 22 October 2009 (UTC)


 * It seems (reading further) that the license is only required for:

* Modifications and enhancements doesn't need to be released under an Open Source license; * There is no need to distribute any Open Source license terms alongside with your product and no reference to it have to be done; * No references to CKEditor have to be done in any file distributed with your product; * The source code of CKEditor doesn’t have to be distributed alongside with your product; * You can remove any file from CKEditor when integrating it with your product. None of which is applicable to me - but possible to other users? --Robinson Weijman 11:25, 22 October 2009 (UTC)

Paste From Word
I only see one paste button, which only allows plain text pasting. I've seen screenshots with three paste buttons: How can I enable that? --Robinson Weijman 14:59, 23 October 2009 (UTC)
 * plain text
 * with formatting
 * from word


 * &rarr; Just add the following lines to FCKeditor/fckeditor_config.js --Matthias Sala 19:03 16 November 2009 (GMT)

FCKConfig.AutoDetectPasteFromWord = true; FCKConfig.CleanWordKeepsStructure = false; FCKConfig.ForcePasteAsPlainText = false;

--> It doesn't work!

image: versus file:
Isn't the new context for uploaded data file: ? At least the mediawiki helppage Help:image says so.


 * FCKeditorSajax.body.php should be adapted to this.
 * Please don't forget the link-context :file: when adding file:.
 * Do other files need to be changed too?
 * i18n of context-names should be allowed too. (file -> datei etc)

ParserOptions.php
This extension uses the WRONG directory for ParserOptions.php.... It is looking in the includes/ directory, where the DEFAULT install of this is in includes/parser directory. On the FCKeditor site, they claim if you get an error for ParserOptions.php then you have installed it in the wrong directory - don't see how that can be as FCKeditor is the installed extension, NOT ParserOptions, and it isn't up to them to claim the default directory is "wrong". --aelfwyne 16:19, 15 December 2009 (UTC)
 * And it requires several deprecated files as well.... Looks like this is NOT compatible with the current versions of MediaWiki. I do not recommend installing it as you'd have to hack it in, and who knows if it would even work reliably? --aelfwyne 16:26, 15 December 2009 (UTC)