The target for this post is to embed at our MediaWiki an editor as WordPress wysiwyg editor. For editing visual and no-problem with the back language.
With Wiki applications this language is not HTML, because of the complexity or the reference systems used. They use a tagged language, Wikitext, which we could do not need or do not our users learn.
In my opinion the FCKEditor is the best choice. We based on the following guide: FCKEditor Integration Guide.
Download the package: mediawiki_fckeditor_ext_N.tar.gz. Unzip it and copy to the extensions directory of your MediaWiki Installation folder:
tar -zxvf mediawiki_fckeditor_ext_N.tar.gz cp -r extensions/* /var/www/wiki/extensions/ chown -R www-data:www-data /var/www/wiki/extensions/ |
Finally notify to MediaWiki for loading this extension at the begining, at file LocalSettings.php:
# EXTENSIONES: Aquí incluimos las extensiones incrustadas en MediaWiki: require_once $IP . "/extensions/FCKeditor/FCKeditor.php"; |
Then our edito is embebed. Refresh the cache in your browser to ensure that there is nothing cached.
If you want to change the language of the interface editor, I could change modifying the following lines in the cofiguration file (fckeditor_config.js):
FCKConfig.AutoDetectLanguage = false ; FCKConfig.DefaultLanguage = 'es' ; |
Then we can enjoy our wiki with an easy editor.