Hi Don, the wiki text button that you found switches inside the FCKeditor to the wiki text using the internal parser to transform the HTML from the wysiwyg area into wikitext (this is the same process when saving the page). The other button that is not working quits the FCKeditor and uses the regular wikitext editor from Mediawiki.
Actually within the Halo Suite we use the following include: require_once('extensions/SMWHalo/includes/SMW_WYSIWYG.php'); instead of: require_once('extensions/FCKeditor/FCKeditor.php'); This includes the FCKeditor only when the url paramstring mode=wysiwyg is set on an action=edit. In this case the "switch to wiki text editor" works. In ontoskin3 we changed the edit link so that the mode=wysiwyg is appended to the edit link always and therefore the FCKeditor gets loaded during a page edit. Hope this make some things clear. Best regards, Stephan On Wed, Nov 10, 2010 at 06:56:10AM -0800, don undeen wrote: > oh dang, wait a minute... > I just realized there's a "Wikitext" button right next to the Format > dropdown. > THAT button does what I want; switches to regular wikitext. > > But then, what does the "Switch to Wiki Text Editor" button do? > > > > > > ________________________________ > From: Stephan Robotta <robo...@ontoprise.de> > To: semediawiki-devel@lists.sourceforge.net > Sent: Wed, November 10, 2010 4:49:47 AM > Subject: Re: [SMW-devel] toggle on SMWHalo wysiwyg not working > > Hello Don, > > It seems that you discovered a bug here. The button doesn't seem to > have any effect when the WYSIWYG extension is used without Halo. > > The easiest workaround for your problem would be that in the user > preferences you exclude the template namespace from being edited with > the Richtext editor. > > The official FCK extension for Mediawiki [1] allows to set a global > option in the LocalSettings.php to exclude certain namespaces from > being edited with the FCKeditor. You could define this like: > $wgFCKEditorExcludedNamespaces= array(NS_TEMPLATE); > > Unfortunalely the WYSIWYG extension of Halo doesn't support this global > setting. Therefore I attached a patch to this mail, that you can apply > the the FCKeditor.body.php file so that $wgFCKEditorExcludedNamespaces > is recognized as well. > > This doesn't solve the problem with the button, but at least gets you > the normal editor for pages in the Template namespace. > > Best regards, Stephan > > [1] http://www.mediawiki.org/wiki/Extension:FCKeditor_%28Official%29 > > On Tue, Nov 09, 2010 at 01:47:18PM -0800, don undeen wrote: > > hey guys, > > I'm beginning the upgrade grind on my wiki installations. > > > > I've installed the wysiwyg text editor from Halo, and I'm hainv a problem, > > in > > that i can't seem to disable it in the interface. > > > > What i mean is, there's a button that says "switch t wiki text editor", but > > clicking on it doesn't expose the wiki text. > > > > this is especially annoying when I'm trying to edit templates, as the > > wysiwyg > > editor only shows <noinclude><includonly> > > > > any ideas? > > > ------------------------------------------------------------------------------ > > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > > David G. Thomson, author of the best-selling book "Blueprint to a > > Billion" shares his insights and actions to help propel your > > business during the next growth cycle. Listen Now! > > http://p.sf.net/sfu/SAP-dev2dev > > > _______________________________________________ > > Semediawiki-devel mailing list > > Semediawiki-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Stephan Robotta Halo Team ontoprise GmbH - know how to use Know-how - - - Halo Extension - Want to get involved? http://smwforum.ontoprise.com/development - - - An der RaumFabrik 29; 76227 Karlsruhe; Germany Tel.: +49 721 509809-10; Fax: +49 721 509809-11 email: robo...@ontoprise.de, www: http://www.ontoprise.com Registered Office: Karlsruhe, Germany, HRB 109540 Managing Directors: Prof. Dr. Jürgen Angele, Hans-Peter Schnurr - - - ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel