Mediawiki 1.23的编辑问题

时间:2014-10-16 09:41:03

标签: mediawiki-extensions

最近我在Oracle企业级Linux 6上安装了MediaWiki 1.23版本,它运行正常。问题出在WYSIWYG_1.23 / CKeditor编辑器上。我尝试配置两个编辑器,但它们都没有工作。我将下面提到的代码添加到LocalSettings.php文件中:

require_once(“$ IP / extensions / WYSIWYG-CKeditor-CKeditor_v4 / WikiEditor / WikiEditor.php”);

require_once( “$ IP /分机/ WYSIWYG-CKEDITOR-CKeditor_v4 / WYSIWYG / WYSIWYG.php”);

$ wgGroupPermissions [ 'registered_users'] [ '所见即所得'] = TRUE;

$ wgGroupPermissions ['*'] ['wysiwyg'] = true; $ wgDefaultUserOptions ['cke_show'] ='richeditor';

$ wgDefaultUserOptions ['riched_use_toggle'] = true;

$ wgDefaultUserOptions ['riched_start_disabled'] = false;

$ wgDefaultUserOptions ['riched_toggle_remember_state'] = true;

$ wgDefaultUserOptions ['riched_use_popup'] = false;

$ wgFCKEditorExcludedNamespaces [] = NS_MEDIAWIKI;

$ wgFCKEditorExcludedNamespaces [] = NS_TEMPLATE;

$ wgDefaultUserOptions ['usebetatoolbar'] = 1;

$ wgDefaultUserOptions ['usebetatoolbar-cgd'] = 1;

$ wgDefaultUserOptions ['wikieditor-preview'] = 0;

$ wgDefaultUserOptions ['wikieditor-publish'] = 0;

正如一些论坛所建议但它没有用。任何人都可以帮我解决这个问题吗?在此先感谢!!

1 个答案:

答案 0 :(得分:0)

嗯,这一行不正确且不需要,请删除它:

$wgGroupPermissions['registered_users']['wysiwyg']=true;