Changes for page Summer Fellowships 2026
Last modified by Ricardo Julio Rodríguez Fernández on 2026/11/01 17:32
From version 64.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:09
on 2026/11/01 17:09
Change comment:
There is no comment for this version
To version 52.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 16:57
on 2026/11/01 16:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,35 +1,25 @@ 1 1 {{velocity}} 2 2 DONE 3 3 4 -#set($pages = $services.query.hql( 4 +#set($pagesDone = $services.query.hql( 5 5 "select doc.fullName 6 6 from XWikiDocument doc 7 7 where doc.fullName like 'SummerFellowships2026.%' 8 - and doc.fullName <> 'SummerFellowships2026.Done'" 8 + and doc.fullName <> 'SummerFellowships2026.Done' 9 + and lower(doc.content) like '%summer fellow%'" 9 9 ).execute())## 10 10 11 -#foreach($p in $pages)## 12 +#set($out = "")## 13 +#foreach($p in $pagesDone)## 12 12 #set($pageDoc = $xwiki.getDocument($p))## 13 -#if($pageDoc.content.toLowerCase().contains('summer fellow'))## 14 -#set($parts = $pageDoc.content.split('==='))## 15 +#set($parts = $pageDoc.content.split("==="))## 15 15 #if($parts.size() >= 3)## 16 -[[$parts.get(1).trim()>>$p]] 17 +#set($out = "${out}[[$parts.get(1).trim()>>$p]]\n")## 17 17 #end## 18 18 #end## 19 -#end## 20 20 21 ----- 21 +{{wikitext}} 22 +$out 23 +{{/wikitext}} 22 22 23 -OFFERED 24 - 25 -#foreach($p in $pages)## 26 -#set($pageDoc = $xwiki.getDocument($p))## 27 -#if(!$pageDoc.content.toLowerCase().contains('summer fellow'))## 28 -#set($parts = $pageDoc.content.split('==='))## 29 -#if($parts.size() >= 3)## 30 -[[$parts.get(1).trim()>>$p]] 31 -#end## 32 -#end## 33 -#end## 34 - 35 35 {{/velocity}}