On Thu, May 5, 2011 at 5:03 PM, Brion Vibber brion@pobox.com wrote:
(CC'd inez @ wikia)
In the process of getting a better feel for the current state of Wikia, Wikihow, & a few others' rich text editor tools, I'm going through Wikia's CKEditor-based RTE extension and seeing if I can get it working on MediaWiki trunk.
I've got a fork from Wikia's SVN in this gitorious project: http://www.gitorious.org/mediawiki-wikia-rte
The 'master' branch is a straight git-svn clone of the subtree; 'tweaks' branch has some extra doc comments and some initial tweaks to get it loading (if not actually working right yet ;) on stock MediaWiki 1.18-SVN.
I'm having some trouble adapting the RTELinker class, which adds annotation to some link & header structures and removes the table of contents; now that these base Linker functions have moved to static methods on the Linker class (with a back-compatibility magic forward from Skin instance methods) there's no way to replace them by passing in a custom skin with overrides -- Parser and friends call Linker directly so don't see the custom code.
Some of them I can adapt existing hooks for, but I may need to add a couple more hooks.
-- brion