Extension talk:FCKeditor (Official)/Archive 1

Your nightly build is broken
It does not include all the files necessary for mediawiki. Take a look at it. --66.187.234.200 15:55, 3 July 2008 (UTC)

A: Fixed.

Bad Archive?
I think that the download file for the extension is corrupt. Not all the files are included and the archive gives errors upon extracting. - Kelsey


 * Hey Kelsey I also got corrupted archive messages. Got around this by getting the latest winrar release. Maybe this can help you? - cappelleh

A: Fixed.

Media Wiki 1.11.1
Has anyone had any joy get this to work with version 1.11.1. Was working version 1.10.1. I've made the changes to the pages in the new version, but with no joy.

Yeah it works for me!


 * With version 1.11 (at: http://www.orza.cl) its not working and even converted good in bad code (Category text)....--Horst Salzwedel 22:17, 16 March 2008 (UTC)

It works with 1.10, 1.11 and 1.12 out of the box.

broken categories and table headers
The current version 10 Dec. 07 broke down categories and table headers.

all tables with ! cells was replaced by | cells

Fixed

maintained?
Is this extension being maintained. I have been looking at the bug tracking over at http://dev.fckeditor.net/report/12 and nothing seems to be progressing. Bugs keep piling up but I never see any go away.

No, this project is dead
You can say for sure that this Extension is dead. Open bugs for nearly 5 months without a comment or reply from the developers. If you need a wiki with WYSIWYG, better try something like DekiWiki or use a good CMS with WYSIWYG built-in.

No, this project is NOT dead
It hasn't been updated for a while and bugs aren't fixed immediately, but this project will be continued.

Broken with new parser in 1.12a
I have converted the extension to use wfLoadExtensionMessages. I found it to be broken with 1.12a in any case. 12891 created. Too hardcore for me to fix. Siebrand 10:14, 3 February 2008 (UTC)

Fixed. It works with 1.12.

Is it possible to use extensions?
Is it possible to use CategoryTree extensions?

What must be change to integrate my own extensions?

--145.225.171.243 09:04, 13 February 2008 (UTC)

It works with other extensions (at least it should), no additional changes required.

Language?
Is it possible to change language from to my native tounge?

/anders

Never mind. I found where to edit the language option, located in 'fckeditor_config.js'

/anders

Work
This extension is a wonderful idea and a great achievement way beyond my comprehension, but as a user I think I can tell you this much: it still needs some serious work done. Well, that's unless there's an solution to the following issues:


 * How do you copypaste tables?
 * When it comes to large articles priorly crated, after one edit, it turns the links and images into some sort of programming languaje.

--201.155.3.160 02:22, 27 February 2008 (UTC)

Incompatibility with MW 1.12.0rc1
I confirm the incompatibility of the FCKeditor with MediaWiki 1.12.0rc1.

Because the bug has already been reported with MW 1.12a, it must be a bug with the new preprocessor.

The wiki is working well, but the edit pages are fully blank.

Fixed. Download the latest version.

How to add the other buttons of FCKeditor ?
Hello, does anybody knows how to insert the others buttons of FCKeditor (Text Color, Font size, font type etc) ? I am using the released MediaWiki 1.12.

Answer: open  and search for , you can add your own buttons there (for a list of available buttons, take a look into   and search for  ). Please be aware that not all buttons may work as expected due to the differences between wiki syntax and HTML.

Hi, I cannot find the. I tried modifying the at the  section but does not work. I could not find the  section to modify. How to modify the buttons? Thanks. LizK 08:02, 27 August 2008 (UTC)

What is the difference?
What is the difference between this extension and the one by Mafs?

Short URL
Note that the rewrite rules must include both extensions/FCKeditor and Extensions/FCKeditor unfortunately. Jean-Lou Dupont 15:32, 18 April 2008 (UTC)

saves HTML instead of wikitext
Using mediawiki-1.12.0 and SVN version downloaded as tar.gz archive. Fixed the Toolbar set bug (add  to LocalSettings.php as per bug in Mafs version), and converted DOS files to Unix, but FCKeditor saves HTML instead of wiki text. Any ideas? --199.46.245.237 17:42, 18 April 2008 (UTC)
 * Found the bug: three cruft Unicode characters should be removed from the beginning of, remove the   from  , and all is well. Now to customize. For info, the first three lines of that file read like this to a Unixy environment:
 * They should read:
 * The presence of those illegal characters causes reading of the file to be aborted. --199.46.245.232 18:12, 18 April 2008 (UTC)
 * They should read:
 * The presence of those illegal characters causes reading of the file to be aborted. --199.46.245.232 18:12, 18 April 2008 (UTC)
 * The presence of those illegal characters causes reading of the file to be aborted. --199.46.245.232 18:12, 18 April 2008 (UTC)
 * The presence of those illegal characters causes reading of the file to be aborted. --199.46.245.232 18:12, 18 April 2008 (UTC)
 * The presence of those illegal characters causes reading of the file to be aborted. --199.46.245.232 18:12, 18 April 2008 (UTC)
 * The presence of those illegal characters causes reading of the file to be aborted. --199.46.245.232 18:12, 18 April 2008 (UTC)

HTML corruption on sectional edits
If you have the following code: and edit just Heading A, your divs will be rewritten to contain character entities around them (ampresand)lt; (sorry, I don't know how to write that without it converting the text)

This rewrite can affect code throughout your article. You can revert to the normal MediaWiki editor in this case by changing the onEditPageShowEditFormInitial function within FCKeditor.body.php to contain the following I'm sure there are more things I should ignore like hr, but I just wanted to whip something together - feel free to update this code --Biyer 19:14, 29 April 2008 (UTC)

Data corruption when one clicks save before WYSIWYG finishes loading
Links are converted to anchor tags if one clicks save before the WYSIWYG generation finishes. The save button should be disabled before the page is ready. --Biyer 19:14, 29 April 2008 (UTC)

i18n
How can I get german messages instead of the english ones in FCKeditor? --87.176.120.190 23:50, 24 April 2008 (UTC)

Image WYSIWYG Incorrect?
Mediawiki 1.12 uses a new wysiwyg to display images on page,    :File.jpg.

FCKEditor still uses the old technique, that just directly links to file. any updates for this?

Update: FCKEditor will corrupt the coding of this new image convention when switching between wikitext and FCK.

Update: I figured maybe I could change the coding in extensions\FCKeditor\plugins\mediawiki\fckplugin.js to push the new convention but nothing changed. Renaming the file itself also revealed no change. Where is the formatting for image coding being done?

Is it a bug or an installation issue?
I have installed FCKeditor from the May 15 nightly build on MediaWiki 1.12, PHP 5.2.4 and java 1.4. The edit page appears as expected. The problem I am having occurs when I try to save the page. In Firefox on linux, a download dialog box appears asking to download the index.php file. In IE v6 on Widows I get a page not found error. I have tried everything I can think of to identify the source of the problem. I have disabled all installed extensions hoping that it is an extension conflict. No luck. What can I do next? --164.44.67.4 14:35, 15 May 2008 (UTC)

Why
Explain why this is any different than Extension:FCKeditor_%28by_Mafs%29. It works just fine and looks the exact same as this one.


 * Answer --: FCKeditor_(by_Mafs) stores html code; FCKeditor (by FCKeditor and Wikia) stores wiki markup. For more detail see WYSIWYG_editor.

Problem with HTML in version history/page comparison
Using MediaWiki 1.12.0

When 2 users are both in 'edit mode' for a page and User 1 saves page before User 2. When User 2 saves page MediaWiki tells user that page has changed since and give a comparison of 'Your Text' and 'Source Version'.

1) 'Source Version' is what is saved in the database (Wiki Text), 'Your Text' is HTML... seems to take HTML of what ever you have in your FCKeditor rather than Wiki Text behind the scenes

2) On the same screen MW automatically updates FCKeditor with text from the database (Wiki Text), but it pastes it into the WYSIWYG rather than behind the scenes (result is Wiki Text in FCKeditor)

Is this a bug? Any ideas for a fix?

--08:28, 16 June 2008 (WST)

Dead?
Can't get the files or to the ext webpage... --83.253.92.137 06:08, 29 June 2008 (UTC)

A: No. In case of any serious problems, please create a bug report here: http://dev.fckeditor.net/.

*FIXED* Latest version not working
Fixed - You'll see from the path it's trying to include from, $IP is not set. In LocalSettings.php put the REQUIRE after this is set (somewhere below line 24) - nick

original Q follows:

I've tried installing FCKeditor for Mediawiki ver1.11.0 and ver1.12.0, but this newest version of FCKeditor (ver. 2.5) does not seem to work for either install of the wiki. The only difference I could see is that the fckeditor.php is in lower case though the instruction specify upper cases (FCKeditor.php). But I've tried both  and   and neither work.

Is there something I'm missing? Doing wrong? I'm running this in a Mac OS X 10.4 Server with PHP 5.2.4 and MySQL 4.1.22.

Fee

Bouncingmolars instructions
OH MY GOD I GOT IT WORKING!!! The instructions are really bad. Someone test out my instructions and if they work edit the main page instructions because the main page ones wern't working for me. I don't have SVN on my server and I used windows to upload stuff onto the server. Feel free to modify the following instructions which worked for me. Bouncingmolar 23:26, 14 July 2008 (UTC) http://svn.fckeditor.net/MediaWiki/trunk http://svn.fckeditor.net/FCKeditor/tags/2.6.2
 * 1) download and install TortoiseSVN
 * 2) Make a directory in filemanager called "FCKeditor"
 * 3) Right-click on the new folder and select SVN Checkout....
 * 4) In the URL of repository, paste the following URL:
 * 1) within your created FCKeditor folder, delete the fckeditor subfolder
 * 2) make a new subfolder called fckeditor to replace the one you deleted
 * 3) Right-click on the new subfolder "fckeditor" and select SVN Checkout....
 * 4) In the URL of repository, paste the following URL:
 * 1) after it all downloads, Upload the main FCKeditor directory into your extensions directory
 * 2) Then follow the main instructions (patching 1.11 or 12)
 * 3) replace the lowercase fckeditor.php with FCKeditor.php in the line on your loacalsettings.php instead of require_once( "extensions/FCKeditor/fckeditor.php" );

RE: Bouncingmolars instructions
Even with the instructions above, I had troubles getting it to work. Here is what I came up with:

First, here is the main site: mediawiki.fckeditor.net There SVN instructions: SVN instructions And finally, their integration guide: FCKeditor integration guide


 * 1) cd to your extensions directory
 * 2) checkout the FCKeditor package
 * 3) svn checkout http://svn.fckeditor.net/MediaWiki/trunk FCKeditor
 * 4) cd FCKeditor
 * 5) rm -rf fckeditor
 * 6) svn co http://svn.fckeditor.net/FCKeditor/tags/2.6.2 fckeditor

NOTE: I did have to upgrade MediaWiki to 1.13alpha (r37887) to get this to work.

Also, remember to put the following in your LocalSettings.php file: require_once( "$IP/extensions/FCKeditor/FCKeditor.php" );

License
The page says "License: not specified", but there's is a license.txt in the tarball, stating: FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2007 Frederico Caldeira Knabben

Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html (See Appendix A) - GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html (See Appendix B) - Mozilla Public License Version 1.1 or later (the "MPL") http://www.mozilla.org/MPL/MPL-1.1.html (See Appendix C) -- 62.180.231.196 09:49, 17 July 2008 (UTC)

Installation instructions here didn't work for me
The installation instructions at

http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide do work.

(We're using MediaWiki 1.11.0.)

Timeout happening
Love the extension! but-- whenever a user loads an "Edit" tab (for the first time) it takes nearly forever to load all the js files associated to FCKeditor. After the first time they load it, it works fine on all the other pages. Here are some details on my site:

Site is in https: not http:

MediaWiki 1.12.0

PHP 	 5.2.5 (cgi)

MySQL 	 5.0.45-community-log

Is there a faster way to have the FCKeditor toolbar load on the user? Thanks in Advanced Doug 69.25.29.4 18:17, 24 July 2008 (UTC)

All installed, but nothing happens
I have carefully installed FCKEditor as detailed in the link above. Nothing happens when I edit articles though. I just get the normal editor. Does FCKEditor have to be turned on in preferences or something? I'm running Mediawiki 1.12, Thanks - User:mitchelln --16:58, 31st July 2008 (GMT)

Installed for MediaWiki 1.13, but nothing happens
I'm getting the same issue! I have MediaWiki 1.13 and I think I installed it correctly, but nothing shows up when I click "edit". Anybody have a solution to this issue?


 * Same here...:I've successfully installed MediaWiki 1.13, and the FCKeditor extension shows up in Special:Version, but the editor itself never activates on page edit.
 * --Gturnbow 20:58, 18 August 2008 (UTC)

No joy on MediaWiki 1.11 either
from my Special:Version page: MediaWiki: 1.11.0 PHP: 5.2.4-2ubuntu5.3 (apache2handler) MySQL: 5.0.51a-3ubuntu5.1 ExtensionsOther FCKeditor (version fckeditor/mw-extension $Rev$ 2008)	FCKeditor extension for editing wiki pages (WYSIWYG editor)	FCKeditor.net and Wikia

Parser extension tags

Parser function hooks int, ns, urlencode, lcfirst, ucfirst, lc, uc, localurl, localurle, fullurl, fullurle, formatnum, grammar, plural, numberofpages, numberofusers, numberofarticles, numberoffiles, numberofadmins, numberofedits, language, padleft, padright, anchorencode, special, defaultsort and displaytitle

HooksHook name	Subscribed by CustomEditor	(FCKeditor_MediaWiki, onCustomEditor) EditPage::showEditForm:fields	(FCKeditor_MediaWiki, onEditPageShowEditFormFields) EditPage::showEditForm:initial	(FCKeditor_MediaWiki, onEditPageShowEditFormInitial) EditPageBeforeConflictDiff	(FCKeditor_MediaWiki, onEditPageBeforeConflictDiff) EditPageBeforePreviewText	(FCKeditor_MediaWiki, onEditPageBeforePreviewText) EditPagePreviewTextEnd	(FCKeditor_MediaWiki, onEditPagePreviewTextEnd) LanguageGetMagic	(FCKeditor_MediaWiki, onLanguageGetMagic) MessagesPreLoad	(FCKeditor_MediaWiki, onMessagesPreLoad) ParserAfterTidy	(FCKeditor_MediaWiki, onParserAfterTidy) ParserBeforeInternalParse	(FCKeditor_MediaWiki, onParserBeforeInternalParse) SanitizerAfterFixTagAttributes	(FCKeditor_MediaWiki, onSanitizerAfterFixTagAttributes) UserToggles	(FCKeditor_MediaWiki, onUserToggles)

Edit conflict doesn't work for 1.12
Hi, I've added the hook as described in the content page to my mediawiki installation (which is 1.12), but the html codes and wiki text appear in the comparison of changes and the lower half of the edit conflict page. Any solution for this? LizK 08:48, 14 August 2008 (UTC)

Not Working 1.14 r40286
I have 'pretty url' enabled so that it removes the index.php/ from the site. However trying to install to the most recent version of mediawiki from the svn i get the following error.

Catchable fatal error: Argument 1 passed to Skin::setupUserCss must be an instance of OutputPage, none given, called in /home/domain/www/________.com/extensions/FCKeditor/FCKeditor.body.php on line 340 and defined in /home/domain/www/________.com/includes/Skin.php on line 542

I omitted the domain name of course.

Any help would be great.

68.27.183.30 03:17, 1 September 2008 (UTC)

What about 1.31.1?
Do the modifications specified under "Manual modifications (only for 1.13 users)" apply to 1.31.1 as well? In 1.31.1 I have a ParserOptions.php file, which the instructions say is missing in 1.13. 128.231.88.7 19:49, 9 September 2008 (UTC)

Change skin
Hello,

I'm using 1.13.1 and I would like to change the skin (to silver). I did the modifications mentioned for 1.13 users and in fckconfig.js I put : FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;

But I still have the default skin.

Do you have an idea ?