Extension:WYSIWYG

The WYSIWYG extension enables a more intuitive editing of pages on a MediaWiki-based site. When this extension is installed, the tab 'Edit' in the command bar on top of every page leads directly in the wysiwyg editing mode.

It uses a special version of the CKeditor that outputs wiki text rather than the usual HTML that caused problems for MediaWiki integrations in the past.

Features of the WYSIWYG extension
The WYSIWYG extension supports the following:
 * importing / insertion of tables, images, formatting stuff like enumerations, font style etc. as well as links
 * real copy and paste without postprocessing
 * working with the known Word-like toolbar arrangement
 * using special characters
 * real time spell-checking with recommender function
 * undo/redo and find and replace functionality

Download

 * WYSIWYG (dependencies, download, help)

Disable for some namespaces
To disable the rich editor for some namespaces (for example, here Mediawiki), add the following code in your LocalSettings.php :

$wgFCKEditorExcludedNamespaces = array(NS_MEDIAWIKI);

Style the content of the editor
These instructions don't seem to work (MW 1.22.0, Firefox 26.0)

Improvements
Here are some tweaks (based on 1.22.0 patched version) in order to get : Todo :
 * One button to add a reference (footnote)
 * One button to add the bloc
 * One button to add the ... in one click when text link is target link
 * Autofilling of the link dialog with selected text, and autosearch
 * $$$$ tags aren't destroyed anymore by the parser
 * Make a dialog to handle categories
 * Make a dialog to handle math formulas
 * Fixme : Images dialog isn't fully working (parameters missing)

Known incompatibilities with extensions

 * May not work if you use the FileLink extension
 * May not work with the HoverGallery extension

Development Repositories
If anyone is interested in developing the extension further, there are two known repositories created by users:


 * "CKEditor in MediaWiki" github.com repository from Ciges
 * "WYSIWYG" wikimedia.org repository from Wingsofcourage

See the discussion/talk page to get in touch with the owners of these repositories.