您的位置:首页 > 其它

MediaWiki 用起来还是比较麻烦的

2015-11-25 22:26 501 查看
参考:

http://blog.csdn.net/wangnan537/article/details/37743497

打开代码支持:

require_once("$IP/extensions/geshi/GeSHiMain.php");


打开扩展编辑器支持

require_once "$IP/extensions/WikiEditor/WikiEditor.php";

# Enables use of WikiEditor by default but still allows users to disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;

# Enables link and table wizards by default but still allows users to disable them in preferences
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;

# Displays the Publish and Cancel buttons on the top right side
$wgDefaultUserOptions['wikieditor-publish'] = 1;


csdn的编辑器还是不错的, 如果wiki有这么舒服的编辑器, 我想我会成新诚意的写wiki
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mediawiki