Extension:FCKeditor (Official)

From MediaWiki.org

Jump to: navigation, search

               

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
FCKeditor extension (Official)

Release status: beta

Screenshot Extension FCKeditor.png
Implementation  Page action, Extended syntax, User rights, Skin, Ajax, Parser extension
Description using the FCKeditor (WYSIWYG editor) for editing wiki pages
Author(s)  FCKeditor team (Frederico Caldeira Knabben, Wiktor Walc, others)
Jack Phoenix
MediaWiki  1.16+
License GPL/LGPL/MPL
Download Download snapshot

Subversion [Help]
Browse source code

Example  Sandbox

check usage (experimental)

FCKeditor extension enables a more intuitive WYSIWYG editor when editing pages on a MediaWiki-based site. It uses a special version of the FCKeditor WYSIWYG editor that outputs wiki text rather than the usual HTML that caused problems for MediaWiki integrations in the past.


Contents

[edit] Installation

[edit] Download the extension

[edit] Download via HTTP

The easiest way to get the extension (including the editor itself) is to download it from this link (Size: 1,2 MB).

[edit] SVN

For MW 1.16 and later a new version is available on svn.wikimedia.org; it's a fork of the original FCKeditor extension and it requires 1.16. In this case, the extension is complete, i. e. unlike older versions it contains the FCKeditor/fckeditor itself.

  • Note: If you had installed a previous version, involving a separate check-out from svn.fckeditor.net for the editor itself, you may have to remove the extensions/FCKeditor folder and check it out again from svn.wikimedia.org.

[edit] Verify/Rename Configuration Files

Verify the files extensions/FCKeditor/fckeditor_config.js and extensions/FCKeditor/plugins/mediawiki/fckplugin.js exist. In case they come with .txt extension, rename the files to .js extension.

[edit] Modify configuration file

After you've downloaded the extension and actual editor, add this line at the end of LocalSettings.php:

require_once("$IP/extensions/FCKeditor/FCKeditor.php");

Also make sure $wgUseAjax is turned on (it is by default on newer MediaWikis).

[edit] Parameters

  • $wgFCKEditorExtDir — path to FCKeditor extension. Defaults to extensions/FCKeditor.
  • $wgFCKEditorDir — path to the actual FCKeditor. Defaults to extensions/FCKeditor/fckeditor/.
  • $wgFCKEditorToolbarSet — defaults to 'Wiki'.
  • $wgFCKEditorHeight — '0' for automatic ('300' minimum). Defaults to '0'.
  • $wgFCKEditorExcludedNamespaces — array of namespaces that FCKeditor is disabled for. Use constants like NS_MEDIAWIKI here. Defaults to an empty array.

[edit] UserOptions

  • riched_disable
  • riched_start_disabled
  • riched_use_popup
  • riched_use_toggle
  • riched_toggle_remember_state
  1. Change the user options for new account: Manual:$wgDefaultUserOptions.
  2. Change the users' preferences: Manual:Maintenance scripts.
    - No SSH access? Look at extension:MaintenanceShell.

[edit] Translating

FCKeditor can be translated through translatewiki.net.

[edit] Reporting software bugs

Bugs and issues can be reported on the MediaWiki Bugzilla (select FCKeditor as the component): https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions

[edit] Wikis using this extension

Wikia was using it, and worked on the development of it, but as of 15 July 2009 it appears that it is not used on any of the Wikia wikis.

They rolled it out the 15th june 2009 according to this wikia forum entry and is used on most wikia wikis as of 4 october 2009 (for example the Novelas wiki). The most visited wikis like uncyclopedia however don't have the new editor because they chose to keep their old "skin" (the wikia WYSIWYG editor is only available for the new Monaco skin).--Ryk V 23:06, 3 October 2009 (UTC)

[edit] More information

For more information on the functionality of fckeditor please refer to the official site of the project