如何在Trac中弃用页面?

问题描述 投票:0回答:1

某些Wiki具有例如通过使用模板来弃用页面的功能。我在Trac网站上搜索并用Google搜索,但没有成功。

如何在Trac中做到这一点?

deprecated wiki trac
1个回答
0
投票

[我在Ryan J Ollos收到的Trac邮件列表中收到了答复:

据我所知,目前没有插件可以实现该功能,但是实现起来非常简单。在trac-hacks.org上,我们使用WikiExtras框宏并将该页面标记为已弃用。例:https://trac-hacks.org/wiki/AdminEnumListPlugin

enter image description here

我在此报告他链接的页面的相关源代码:

[[PageOutline(2-5,Contents,pullout)]]

{{{#!box warn
**Notice:** This plugin is deprecated in Trac 1.2 and later.
}}}
© www.soinside.com 2019 - 2024. All rights reserved.