I have sucessfully installed FCKEditor into Mediawiki, and the editor appears in place of the wiki editor when I click on the Edit tab on the page. However, I still get the old wiki editor when I select the discussion link. How do I make FCkEditor the default editor for this page?
Tue, 09/19/2006 - 13:59
#1
RE: FCKEditor /Mediawiki discussion page
The problem still exists! Also, the magic word __use_editor__ (non-caps intentional) doesn't work on this page. Does this help?
RE: FCKEditor /Mediawiki discussion page
Thanks in advance!
RE: FCKEditor /Mediawiki discussion page
RE: FCKEditor /Mediawiki discussion page
The key is this line in the LocalSettings.php file:
$wgFCKexcludedNamespaces = array(8,1,-1);
As you can see from the namespace table at http://en.wikipedia.org/wiki/Help:Namespace
The numbers in the array enable you to specifically use the MediaWiki editor, rather than the FCKeditor, on pages that use the namespaces that are listed in the array. The 8 connects to the Talk: set of pages, which are automatically created when you click on the Discussion tab. Removing the 8 in this array will automatically enable the FCKeditor on all discussion pages.
However, if you are using MediaWiki 1.6.10, the Discussion tab autocreates talk: with a lower case "t" and as a result, it is not in the "8" namespace. The result is that it will use the FCKeditor (assuming that this editor is set with $wgFCKUseEditor = true; )
You can add other numbers to this array, for example 12 will cause all Help: files to use the MediaWiki editor.
As with these two editors, if you use an editor to edit the page, that same editor functionality is used to render it. So FCKeditor renders XHTML and MediaWiki editor use causes those pages' wikitext to be rendered.
Re: FCKEditor /Mediawiki discussion page
We have just started a project called MediaWiki+FCKeditor. Check it out:
http://mediawiki.fckeditor.net
I hope you'll enjoy it.
FredCK
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn