Skip to content

轻量无需数据库的Wiki软件DokuWiki安装及配置教程

  • 本文档使用版本:2026-07-14a “Mort”
  • 本文档更新日期:2026年8月8日
  • 本文档配套视频:B站

安装教程

语法教程

表格:

^  <wrap em>开源软件身份卡</wrap>  ^^^^^^
^  名称  ^  开发语言  ^  官网  ^  代码托管  ^  开发团队  ^  开源协议  ^
|    |    |    |    |    |    |
^  本文档使用版本  ^  本文档更新日期  ^  更新历史  ^  版本对比  ^  配套视频教程  ^^
|    |    |    |    |    ||

升级教程

查看DokuWiki版本:

http://XXX/doku.php?do=check

将新版本直接在网站根目录覆盖解压,然后删除以下文件:

# removed on 2026-06-25
inc/Parsing/Handler/Quote.php
inc/Parsing/ParserMode/Hr.php
inc/Parsing/ParserMode/ModeInterface.php
inc/Parsing/ParserMode/Quote.php

# removed on 2026-06-07
inc/mail.php

# removed on 2026-05-06
inc/Parsing/ParserMode/Formatting.php
inc/fulltext.php
inc/indexer.php
inc/parser/handler.php
inc/parser/parser.php

# removed on 2026-04-12
lib/images/larger.gif
lib/images/smaller.gif
lib/images/wrap.gif

# removed on 2026-03-22
vendor/simplepie/simplepie/.php-cs-fixer.dist.php
vendor/simplepie/simplepie/LICENSE.txt
vendor/simplepie/simplepie/idn/LICENCE
vendor/simplepie/simplepie/idn/ReadMe.txt
vendor/simplepie/simplepie/idn/idna_convert.class.php
vendor/simplepie/simplepie/idn/npdata.ser

# removed on 2024-12-09
lib/plugins/extension/_test/extension.test.php
lib/plugins/extension/all.less
lib/plugins/extension/helper/extension.php
lib/plugins/extension/helper/gui.php
lib/plugins/extension/helper/list.php
lib/plugins/extension/helper/repository.php
lib/plugins/extension/images/bug.gif
lib/plugins/extension/images/disabled.png
lib/plugins/extension/images/donate.png
lib/plugins/extension/images/down.png
lib/plugins/extension/images/enabled.png
lib/plugins/extension/images/tag.png
lib/plugins/extension/images/up.png
lib/plugins/extension/images/warning.png

插件教程

wrap插件

<WRAP group><WRAP column download>
</WRAP></WRAP>

nspages插件

语法:

<nspages software -title -simpleList -textPages="" -exclude:sidebar>
# 排序-sortId、-sortByDate
-subns:显示子命名空间
-nopages:不罗列所选命名空间的页面(与-subns搭配使用)
-exclude:nameOfPage:排除页面,可多次使用
-exclude:subNs::排除子命名空间的页面,可多次使用
-exclude:不包含当前页面
-h1:显示H1标题,如果没有,则显示页面名称
-textPages="some text":
-textNS="some text":

nosidebar插件

该插件最后更新日期为2013年,但是经过测试,兼容新版本。在不需要侧边栏的页面中输入:

~~NOSIDEBAR~~