Zdrojový kód wiki Macro - changedpages1 - forTest
Version 34.1 by David Brazda on 23.02.2021 14:31
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
17.1 | 1 | **~{~{changedpages1/}}** |
![]() |
3.1 | 2 | |
![]() |
17.1 | 3 | **for test just on this wiki** |
4 | |||
![]() |
8.1 | 5 | {{changedpages1/}} |
![]() |
24.2 | 6 | |
7 | |||
8 | {{velocity}} | ||
![]() |
28.3 | 9 | #set ($list = $services.query.xwql('where doc.hidden = 0 order by doc.date desc').execute()) |
10 | Skript pro sitemap, nezobrazujeme stranky, ktere maji v nazvu XWiki. | ||
![]() |
24.2 | 11 | #foreach($reference in $list) |
12 | #set ($document = $xwiki.getDocument($reference)) | ||
![]() |
33.1 | 13 | #set ($nazev = $document.toString()) |
![]() |
34.1 | 14 | #if ((!$nazev.contains("XWiki.")) || (!$nazev.contains("Macros."))) |
![]() |
24.2 | 15 | * $document |
![]() |
25.2 | 16 | #end |
![]() |
24.2 | 17 | #end |
18 | {{/velocity}} |