最近我在Oracle企業版linux 6上安裝了MediaWiki 1.23版本,並且工作正常。問題出在WYSIWYG_1.23/CKeditor編輯。我嘗試配置兩個編輯器,但他們都沒有工作。我將下面提到的代碼添加到LocalSettings.php文件中:Media Editor的編輯問題1.23
require_once(「$ IP/extensions/WYSIWYG-CKeditor-CKeditor_v4/WikiEditor/WikiEditor.php」); (「$ IP/extensions/WYSIWYG-CKeditor-CKeditor_v4/WYSIWYG/WYSIWYG.php」);
$ wgGroupPermissions ['registered_users'] ['wysiwyg'] = 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;
建議在一些論壇中,但它沒有奏效。任何人都可以幫助我解決這個問題嗎?提前致謝!!