wiki使用体验

一直在寻找一个完整的知识管理体系来整理自己所学的东西, 在这样一个知识爆炸的时代和世界, 既要不断学习, 也要有选择性的学习, 学习之后很好的消化. 因此一个好的工具就是一件神器啊!!!

wiki的好处就是

– 类似网站结构, 知识结构清晰可见

– 内部链接互相关联, 可以知道哪些方面是有联系的

– 开放性,有志同道合的朋友可以一起写

-编辑的方便性, 无论从哪里都可以访问, 简单, 容易

例如最近写的’七种主要塑料’,通过wiki加入了目录-七种塑料,子目录下面的每种塑料的工艺,特性和常见用途. 结构清晰.而且可以反复编辑. 对于塑料材料的学习就这样, 我先通过网上搜寻资料, 然后再在wiki上面整合编辑.最后一篇详细的文章就出炉了.

wiki同时采用SQL的数据库,基本不用担心数据丢失. 同时采用特殊网页的浏览和显示格式,也是再好不过了.

我的wiki进入http://idhe.tk/wiki

下面是一些wiki的安装过程和相关的插件,增强wiki的功能

开放本地图片上传

在localsettings.php取消这一行的行首#号

# $wgEnableUploads = true;

打开外部图片引用功能

在localsettings.php增加下面一行即可:

$wgAllowExternalImages = true;

允许从外部网址上传图片

在localsettings.php增加下面一行即可:

$wgAllowCopyUploads = true;

动态文章

http://www.mediawiki.org/wiki/Extension:Dynamic_Article_List

添加Google分析

http://www.stoltenow.com/archives/2006/09/adding_google_a.html

Adding Google Analytics To MediaWiki

MediaWiki Logo In order to add Analytics to MediaWiki, you first need the script code from Google. It should look something like this:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-XXXXX-X"; urchinTracker(); </script>

We need to insert the script code into MediaWiki so that it appears in every page generated. But where? In the MediaWiki’s base skin php file. If you haven’t changed the skin from the default, then you have the "MonoBook" skin. Edit the following file:

/wiki/skins/MonoBook.php

And insert the Google script code near the end of the file, just above the </body></html> tags. That’s it. All pages will now execute the script.

高亮代码

http://www.lihaixin.com/2008/10/add-syntaxhighlight-geshi-391.html

添加 Google Sitemap

http://www.mediawiki.org/wiki/Extension:Google_Sitemap