Editing
DokuWiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Another [[WikiWiki|wiki]] engine! [https://www.dokuwiki.org/wiki:dokuwiki DokuWiki][http://www.wikimatrix.org/show/DokuWiki]([http://www.splitbrain.org/blog Weblog], [https://www.dokuwiki.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) == * {{ kbd | key=<nowiki>do=show</nowiki>}} - show the page ([https://www.dokuwiki.org/doku.php?id=plugin:actionlink&do=show ex]) * {{ kbd | key=<nowiki>do=edit</nowiki>}} - edit the page ([https://www.dokuwiki.org/doku.php?id=plugin:actionlink&do=edit ex]) * {{ kbd | key=<nowiki>do=backlink</nowiki>}} - the [[Backwards Links | backwards links]] of page ([https://www.dokuwiki.org/doku.php?id=plugin:actionlink&do=backlink ex]) * {{ kbd | key=<nowiki>&do=export_xhtml</nowiki>}} - to export page content [https://www.dokuwiki.org/export export [DokuWiki]] : more on [https://www.dokuwiki.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 == 設定[[Search shortcut]], 以串接相同tag的wiki頁面。 (已有其他方案: [https://www.dokuwiki.org/plugin:tag plugin:tag]) '''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 '''modify and save another new revision''' of wiki pages if interwiki did not take effect. '''syntax''' [[tag>content analysis]] will perform the search ''tag''+''content analysis'' on the DokuWiki 參考: * [https://www.dokuwiki.org/wiki:interwiki wiki:interwiki] (last visited: June 14, 2006) * [https://www.dokuwiki.org/wiki:search wiki:search] (last visited: July 28, 2006) == 中文議題 == * 搜尋([https://www.dokuwiki.org/wiki:search 官方說明]) ** 中文關鍵字搜尋(exact search): 例如尋找「測試報告」,DokuWiki會同時搜尋「測試報告」、「測試」、「報告」等字。 ** 和 Google search 一樣可以使用 "" 包裹詞來搜尋 (即"測試報告")。 * 網站名稱 $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 == * copy lib/tpl/default/ to lib/tpl/default_mod/ * modify design.css * modify conf/local.php <pre> $conf['template'] = 'default_mod'; </pre> Related: * [https://www.dokuwiki.org/plugin:template plugin:template] == 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... == * [[Open new window of DokuWiki syntax]]: 編輯區上方雖提供syntax連結,卻以相同視窗開啟。說明如何改用新視窗開啟說明網頁。 * [[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 - [https://www.dokuwiki.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]] [https://www.dokuwiki.org/plugin:creole] (last visited: 2007-03-05) * more on [https://www.dokuwiki.org/wiki:faq official wiki faq]([http://bbs.ilc.edu.tw/dokuwiki/wiki:faq 中文]) [[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>
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Guide to Wiki
(
edit
)
Template:Kbd
(
edit
)
Template:Wiki version
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information