DokuWiki
Jump to navigation
Jump to search
Another wiki engine! DokuWiki[1](Support forum, Issue tracker, 中文文件) is so easy for installation.
- The main requirement is PHP only.
tag
設定InterWiki, 以串接相同tag的wiki頁面。
modify the interwiki.conf
- conf/interwiki.local.conf
- add the following:
tag doku.php?do=search&id=tag%3E%22{NAME}%22
- Note: After modification of the configuration, you may need to save another new revision if interwiki of wiki page did not take effect.
syntax
[[tag>content analysis]]
will perform the search tag+content analysis on the DocuWiki
參考:
- wiki:interwiki (last visited: June 14, 2006)
- wiki:search (last visited: July 28, 2006)
中文
- 中文無法使用exact search
- 網站名稱 $conf['title'] 若使用中文 & conf/local.php 使用unicode儲存,會導致影像檔無法顯示
- 約21字的中文頁面名稱的長度限制: 因為中文的頁面名稱是以URL編碼儲存,例如頁面「林」會儲存為「%E6%9E%97.txt」,所以當頁面名稱若純粹是中文字或全形的標點符號組成,會面臨Windows NTFS作業系統的255字元數的檔名長度限制。以我個人為例:
filename: DokuWiki資料夾路徑/編碼後的檔名.txt C:\Program Files\Apache Group\Apache2\htdocs\dokuwiki\data\pages\編碼後的檔名.txt -----------------------------------------------------------------============---- (a) (b) (c)
- 資料夾路徑 + 副檔名: (a) + (c) = 65字元數 + 4字元數
- 編碼後的檔名: (b) = 255字元數 - (a) - (c) = 約容許21字的中文頁面名稱(不夾雜英文、數字與空白);或者是約190字的英文、數字與空白夾雜的英文頁面名稱。
如果把DokuWiki檔案改到c:\web\dokuwiki\ 也只能增加5個中文字
modification of css
- copy lib/tpl/default/ to lib/tpl/default_mod/
- modify design.css
- modify conf/local.php
$conf['template'] = 'default_mod';
Related:
version: dokuwiki-2006-03-09
more...
- Open new window of DokuWiki syntax: 編輯區上方雖提供syntax連結,卻以相同視窗開啟。說明如何改用新視窗開啟說明網頁。
- Setting user rights in DokuWiki: 設定權限,避免廣告留言
- OddmuseWiki to DokuWiki Converter: wiki syntax online converter modified from Johannes Buchner's work - MediaWiki to Dokuwiki Converter!
- more on official wiki faq(中文)