xwiki/velocity 最近的变化

发布于 2025-01-06 12:14:43 字数 148 浏览 3 评论 0 原文

默认情况下,可以找到的最近页面代码不会执行我想要的操作。 我怎样才能获得

  • 最近更改的类似媒体维基的版本
  • - 和/或 -
  • 最近 10 个更改的页面,

最好使用速度。

许多问候

by default the recent pages code that can be found does not do what I want it to do.
How can I get

  • a media-wiki-like version of recent changes
  • -and/or-
  • the last 10 changed pages

preferably using velocity.

Many greetings

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

帅哥哥的热头脑 2025-01-13 12:14:43

该代码可能基于获取最后一页的数据库请求,这意味着您可以作为 $xwiki.search 方法参数轻松限制结果数量(请参阅 http://tinyurl.com/7r8od94),或者如果您使用新的查询服务,最好使用 setLimit(请参阅http://tinyurl.com/7y99smg)。

如果您可以向我指出您正在谈论的确切代码,我可能可以为您提供有关修改内容的更多详细信息。

The code is probably based on a database request to get the last pages so that mean you can limit the number of result easily either as a $xwiki.search method parameter (see http://tinyurl.com/7r8od94 for example) or better using setLimit if you are using the new query service (see http://tinyurl.com/7y99smg).

If you can point me to the exact code you are talking about I can probably give you more details on what to modify.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文