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
on 2026/11/01 16:57
Change comment:
There is no comment for this version
To version 61.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:05
on 2026/11/01 17:05
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,25 +1,18 @@ 1 1 {{velocity}} 2 -DONE 3 - 4 -#set($pagesDone = $services.query.hql( 2 +#set($pagesOffered = $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' 9 - and lower(doc.content) like '%summer fellow%'" 6 + and doc.fullName <> 'SummerFellowships2026.Done'" 10 10 ).execute())## 11 11 12 -#set($out = "")## 13 -#foreach($p in $pagesDone)## 9 +#foreach($p in $pagesOffered)## 14 14 #set($pageDoc = $xwiki.getDocument($p))## 15 -#set($parts = $pageDoc.content.split("==="))## 11 +#if(!$pageDoc.content.toLowerCase().contains('summer fellow'))## 12 +#set($parts = $pageDoc.content.split('==='))## 16 16 #if($parts.size() >= 3)## 17 - #set($out = "${out}[[$parts.get(1).trim()>>$p]]\n")##14 +[[$parts.get(1).trim()>>$p]] 18 18 #end## 19 19 #end## 20 - 21 -{{wikitext}} 22 -$out 23 -{{/wikitext}} 24 - 17 +#end## 25 25 {{/velocity}}