尝试为 MediaWiki 安装FCKEditor扩展。按照官方网站上的说明 - 从 svn 获取副本。
之后 - 将其包含到LocalSettings.php中:
require_once("$IP/extensions/FCKeditor/FCKeditor.php");
比我在尝试打开我的 Wiki 时遇到的错误:
Magic word 'NORICHEDITOR' not found
Backtrace:
#0 /usr/share/mediawiki/includes/MagicWord.php(244): Language->getMagic(Object(MagicWord))
#1 /usr/share/mediawiki/includes/MagicWord.php(197): MagicWord->load('NORICHEDITOR')
#2 /var/lib/mediawiki/extensions/FCKeditor/FCKeditor.body.php(79): MagicWord::get('NORICHEDITOR')
#3 [internal function]: FCKeditor_MediaWiki::onParserBeforeInternalParse(Object(Parser), '<div class='noa...', Object(StripState))
#4 /usr/share/mediawiki/includes/Hooks.php(117): call_user_func_array(Array, Array)
#5 /usr/share/mediawiki/includes/parser/Parser.php(870): wfRunHooks('ParserBeforeInt...', Array)
#6 /usr/share/mediawiki/includes/parser/Parser.php(327): Parser->internalParse('<div class='noa...')
#7 /usr/share/mediawiki/includes/Article.php(3557): Parser->parse('<div class='noa...', Object(Title), Object(ParserOptions), true, true, 0)
#8 /usr/share/mediawiki/includes/Article.php(989): Article->outputWikiText('<div class='noa...', false)
#9 /usr/share/mediawiki/includes/Wiki.php(450): Article->view()
#10 /usr/share/mediawiki/includes/Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#11 /usr/share/mediawiki/index.php(116): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#12 {main}
我已经安装了 MediaWiki 1.15.1、PHP 5.3.2。
我找到了一些有关此 PHP 版本问题的信息,但找不到解决方案。