Changes for page Summer Fellowships 2026

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

From version 29.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 16:31
Change comment: There is no comment for this version
To version 47.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 16:52
Change comment: There is no comment for this version

Summary

Details

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