Changes for page Summer Fellowships 2026

Last modified by Ricardo Julio Rodríguez Fernández on 2026/11/01 17:32

From version 52.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 16:57
Change comment: There is no comment for this version
To version 60.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,7 @@
1 1  {{velocity}}
2 2  DONE
3 3  
4 -#set($pagesDone = $services.query.hql(
4 +#foreach($p in $services.query.hql(
5 5   "select doc.fullName
6 6   from XWikiDocument doc
7 7   where doc.fullName like 'SummerFellowships2026.%'
... ... @@ -9,17 +9,31 @@
9 9   and lower(doc.content) like '%summer fellow%'"
10 10  ).execute())##
11 11  
12 -#set($out = "")##
13 -#foreach($p in $pagesDone)##
14 14  #set($pageDoc = $xwiki.getDocument($p))##
15 15  #set($parts = $pageDoc.content.split("==="))##
14 +
16 16  #if($parts.size() >= 3)##
17 -#set($out = "${out}[[$parts.get(1).trim()>>$p]]\n")##
16 +[[$parts.get(1).trim()>>$p]]
18 18  #end##
18 +
19 19  #end##
20 20  
21 -{{wikitext}}
22 -$out
23 -{{/wikitext}}
21 +OFFERED
24 24  
23 +#foreach($p in $services.query.hql(
24 + "select doc.fullName
25 + from XWikiDocument doc
26 + where doc.fullName like 'SummerFellowships2026.%'
27 + and doc.fullName <> 'SummerFellowships2026.Done'
28 + and lower(doc.content) not like '%summer fellow%'"
29 +).execute())##
30 +
31 +#set($pageDoc = $xwiki.getDocument($p))##
32 +#set($parts = $pageDoc.content.split("==="))##
33 +
34 +#if($parts.size() >= 3)##
35 +[[$parts.get(1).trim()>>$p]]
36 +#end##
37 +
38 +#end##
25 25  {{/velocity}}