目录或页面名称不能使用大写字母
<p>目录或页面名称不能使用大写字母
dokuwiki目录和页面名称使用大写字母也会自动变为小写。
解决办法
参考https://forum.dokuwiki.org/thread/5417
1.设置目录名称和页面名称支持大写
进入\dokuwiki\inc目录,找到pageutils.php文件修改。
参考图片:
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/6dcb247b8d1d1eb58959bde73f157014?showdoc=.jpg" alt="" /></p>
<p>2.设置搜索不区分大小写
进入\dokuwiki\inc目录,找到fulltext.php文件修改。
把所有的strpos改为stripos。
i think there is a quicker solution for make the search for pagenames case insensitive, in inc/fulltext.php in function _ft_pageLookup(&$data) (line 213) just replace strpos with stripos (lines 231,246). stripos is the caseinsensitive variant of strpos.
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/d4995cc37702d7763086bd3b4d4baa59?showdoc=.jpg" alt="" />
3.名称里面直接用空格不用下划线
设置之后发现页面打不开,暂不设置。
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/0d5e208d9ef4240bda243d7326cf8777?showdoc=.jpg" alt="" />
modification in file template.php, around line 1012</p>