访问 Dokuwiki 渲染插件中的原始 wiki 页面内容
我创建了一个插件,它的基本功能运行良好。它始终返回 testing
,正如您在方法 document_end()
中看到的那样。
但是我如何访问简单的原始 wiki 页面内容?
这是我的 rawcontent.php 文件位于相应的插件文件夹中。
I created a plugin and its basic functionalities are working well. It returns always testing
as you can see in the method document_end()
.
But how can I access the plain, raw wiki page content?
This is my rawcontent.php file in the corresponding plugin folder.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
我得到了它。在深入研究 Dokuwiki 的代码后,我发现了
rawWiki()
。它返回页面的原始内容,当前页面名称/id 是名为
$ID
的“全局”“常量”。解决方案:
I got it. After a deep serach in the code of Dokuwiki I discovered
rawWiki()
.It returns the raw content of a page, the current page name/id is a "global" "constant" named
$ID
.Solution: