DokuWiki: Difference between revisions
Jump to navigation
Jump to search
m (→more...) |
m (Text replacement - "InterWiki" to "Search shortcut") |
||
(47 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[http://wiki.splitbrain.org/wiki:dokuwiki DokuWiki] | Another [[WikiWiki|wiki]] engine! [http://wiki.splitbrain.org/wiki:dokuwiki DokuWiki][http://www.wikimatrix.org/show/DokuWiki]([http://www.splitbrain.org/blog Weblog], [http://wiki.splitbrain.org/wiki%3Aplugins Plugins], [http://forum.dokuwiki.org/ Support forum], [http://bugs.splitbrain.org/index.php?tasks=all&project=1 Issue tracker], [http://bbs.ilc.edu.tw/wiki/doku.php?id=wiki:syntax Wiki語法], [http://bbs.ilc.edu.tw/dokuwiki/documentation#dokuwiki 中文文件]) is so easy for installation. The system requirement is PHP only. | ||
{| class="plainlinks" cellspacing="5" cellpadding="0" | |||
|-valign="top" | |||
| style="width:75%; border-right: 1px solid #cca; border-bottom: 1px solid #cca; padding: 10px; -moz-border-radius: 10px; color:black; background:#f9f9f9;" | | |||
<!-- 左欄 --> | |||
{{Wiki version| wiki_engine=DokuWiki | version=2009-12-25 }} | |||
== installation/upgrade == | |||
[https://www.dokuwiki.org/install install], [https://www.dokuwiki.org/install:upgrade install:upgrade] or [https://www.dokuwiki.org/manual manual] | |||
* {{kbd | key = chown apache:apache -R ''/path/to/dokuwiki/*''}} to ensure the folder is accessible by web server process. | |||
* {{kbd | key = chmod 775 -R ''folder_name''}} to ensure the folder is writable by web server process. more on [https://www.dokuwiki.org/install:permissions install:permissions] | |||
== action link (command parameter) == | |||
* do=show - show the page ([http://wiki.splitbrain.org/doku.php?id=plugin:actionlink&do=show ex]) | |||
* do=edit - edit the page ([http://wiki.splitbrain.org/doku.php?id=plugin:actionlink&do=edit ex]) | |||
* do=backlink - the [[Backwards Links | backwards links]] of page ([http://wiki.splitbrain.org/doku.php?id=plugin:actionlink&do=backlink ex]) | |||
: more on [http://wiki.splitbrain.org/plugin:actionlink Actionlink plugin] | |||
== anti-spam issue == | |||
* admin -> Access Control List Management | |||
* [http://www.dokuwiki.org/plugin:badbehaviour Bad Behaviour Plugin] | |||
* [http://www.dokuwiki.org/plugin:ipban IP Banning Plugin] | |||
* blacklist: [http://www.dokuwiki.org/blacklist DokuWiki blacklist] | |||
** main file: dokuwiki\conf\wordblock.conf from http://blacklist.chongqed.org/ | |||
** local file: dokuwiki\conf\wordblock.local.conf (Local file will append the URL blacklist of the main file) | |||
* [[Recaptcha dokuwiki plugin]] 使用者編輯wiki頁面內容,儲存之前需要輸入英文或數字的檢核碼字串 | |||
== tag == | == tag == | ||
設定[[ | 設定[[Search shortcut]], 以串接相同tag的wiki頁面。 (已有其他方案: [http://wiki.splitbrain.org/plugin:tag plugin:tag]) | ||
Line 9: | Line 36: | ||
* add the following: | * add the following: | ||
tag doku.php?do=search&id=tag%3E | tag doku.php?do=search&id=tag%3E%22{NAME}%22 | ||
* Note: | * Note: After modification of the configuration, you may need to '''modify and save another new revision''' of wiki pages if interwiki did not take effect. | ||
'''syntax''' | '''syntax''' | ||
Line 17: | Line 44: | ||
[[tag>content analysis]] | [[tag>content analysis]] | ||
will perform the search ''tag''+''content analysis'' on the | will perform the search ''tag''+''content analysis'' on the DokuWiki | ||
參考: | 參考: | ||
* [http://wiki.splitbrain.org/wiki:interwiki wiki:interwiki] (last visited: June 14, 2006) | * [http://wiki.splitbrain.org/wiki:interwiki wiki:interwiki] (last visited: June 14, 2006) | ||
* [http://wiki.splitbrain.org/wiki:search wiki:search] (last visited: July 28, 2006) | |||
== 中文議題 == | |||
* 搜尋([http://wiki.splitbrain.org/wiki:search 官方說明]) | |||
** 中文關鍵字搜尋(exact search): 例如尋找「測試報告」,DokuWiki會同時搜尋「測試報告」、「測試」、「報告」等字。 | |||
** 和 Google search 一樣可以使用 "" 包裹詞來搜尋 (即"測試報告")。 | |||
* 網站名稱 $conf['title'] 若使用中文 & conf/local.php 使用unicode儲存,會導致影像檔無法顯示 | * 網站名稱 $conf['title'] 若使用中文 & conf/local.php 使用unicode儲存,會導致影像檔無法顯示 | ||
* 約21字的中文頁面名稱的長度限制: | |||
: 因為中文的頁面名稱是以Unicode編碼(UTF-8 Code in HEX notation[http://lcweb2.loc.gov/cocoon/codetables/9.1.html])儲存,例如頁面「林」會儲存為「%E6%9E%97.txt」,所以當頁面名稱若純粹是中文字或全形的標點符號組成,會面臨MS Windows作業系統[http://en.wikipedia.org/wiki/NTFS NTFS]的255字元數的檔名長度限制。以我個人為例: | |||
filename: DokuWiki資料夾路徑/編碼後的檔名.txt | |||
C:\Program Files\Apache Group\Apache2\htdocs\dokuwiki\data\pages\編碼後的檔名.txt | |||
-----------------------------------------------------------------============---- | |||
(a) (b) (c) | |||
:* 資料夾路徑 + [[FileExtensions|副檔名]]: (a) + (c) = 65字元數 + 4字元數 | |||
:* 編碼後的檔名: (b) = 255字元數 - (a) - (c) = 約'''容許21字的中文頁面名稱'''(頁面名稱由中文字或全形標點符號組成);或者是約'''190字的英文頁面名稱'''(由英文、數字、半形的標點符號或空白組成的英文頁面名稱。DokuWiki會將半形的標點符號或空白轉換成 _ ,所以原本應該佔3字元數,減少為1字元數。)。 | |||
如果把DokuWiki檔案改到c:\web\dokuwiki\ 也只能增加5個中文字 | |||
== modification of css == | == modification of css == | ||
Line 41: | Line 84: | ||
== plugins == | |||
* [http://www.chimeric.de/projects/dokuwiki/plugin/gtd plugin:gtd]: syntax as follows: | |||
<pre> | |||
[#] [@context] [p:project] [describing text] [yyyy-mm-dd|mm-dd] | |||
</pre> | |||
note that project should be written in English | |||
== more... == | == more... == | ||
* [[Open new window of DokuWiki syntax]]: 編輯區上方雖提供syntax連結,卻以相同視窗開啟。說明如何改用新視窗開啟說明網頁。 | * [[Open new window of DokuWiki syntax]]: 編輯區上方雖提供syntax連結,卻以相同視窗開啟。說明如何改用新視窗開啟說明網頁。 | ||
* [http://wiki.splitbrain.org/wiki:faq official wiki faq] | * [[Setting user rights in DokuWiki]]: 設定權限,避免[[AntiSpam|廣告留言]] | ||
syntax | |||
* [http://planetoid.info/tools/oddmuse2doku.php OddmuseWiki to DokuWiki Converter]: wiki syntax online converter modified from [http://johbuc6.coconia.net/ Johannes Buchner]'s work - [http://wiki.splitbrain.org/wiki:mediawiki_to_dokuwiki_converter MediaWiki to Dokuwiki Converter]! | |||
* XXC (2006). [http://www.xxc.idv.tw/blog/xxc/webtryit/dokuwiki.html Dokuwiki 標題語法修改] for Version 2006-11-06. ''XXC@Blog'' (last visited: 2007-02-02) | |||
** alternative choice: [[DokuWiki Creole Plugin]] [http://wiki.splitbrain.org/plugin:creole] (last visited: 2007-03-05) | |||
* more on [http://wiki.splitbrain.org/wiki:faq official wiki faq]([http://bbs.ilc.edu.tw/dokuwiki/wiki:faq 中文]) | |||
[[Category:Wiki]] | [[Category:Wiki]] | ||
|width="25%" style="padding:0;margin:0;"| | |||
<div style="border-bottom:1px solid #CFD5D7; border-right: 1px solid #CFD5D7; padding: 10px; -moz-border-radius: 10px 10px 0 0; background:#E0EDEE"> | |||
<!-- 右欄 --> | |||
{{Guide to Wiki}} | |||
</div> |
Revision as of 10:03, 22 October 2018
Another wiki engine! DokuWiki[1](Weblog, Plugins, Support forum, Issue tracker, Wiki語法, 中文文件) is so easy for installation. The system requirement is PHP only.
installation/upgradeinstall, install:upgrade or manual
action link (command parameter)
anti-spam issue
tag設定Search shortcut, 以串接相同tag的wiki頁面。 (已有其他方案: plugin:tag)
tag doku.php?do=search&id=tag%3E%22{NAME}%22
syntax [[tag>content analysis]] will perform the search tag+content analysis on the DokuWiki 參考:
中文議題
filename: DokuWiki資料夾路徑/編碼後的檔名.txt C:\Program Files\Apache Group\Apache2\htdocs\dokuwiki\data\pages\編碼後的檔名.txt -----------------------------------------------------------------============---- (a) (b) (c)
如果把DokuWiki檔案改到c:\web\dokuwiki\ 也只能增加5個中文字 modification of css
$conf['template'] = 'default_mod'; Related:
plugins
[#] [@context] [p:project] [describing text] [yyyy-mm-dd|mm-dd] note that project should be written in English
more...
syntax
|
Wiki 指的是具備下列兩個性質的伺服器或軟體:
|