Changes for page Summer Fellowships 2026
Last modified by Ricardo Julio Rodríguez Fernández on 2026/11/01 17:32
From version 57.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:01
on 2026/11/01 17:01
Change comment:
There is no comment for this version
To version 62.1
edited by Ricardo Julio Rodríguez Fernández
on 2026/11/01 17:06
on 2026/11/01 17:06
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,20 +1,39 @@ 1 1 {{velocity}} 2 +#set($pagesOffered = $services.query.hql( 3 + "select doc.fullName 4 + from XWikiDocument doc 5 + where doc.fullName like 'SummerFellowships2026.%' 6 + and doc.fullName <> 'SummerFellowships2026.Done'" 7 +).execute())## 8 + 9 +#foreach($p in $pagesOffered)## 10 +#set($pageDoc = $xwiki.getDocument($p))## 11 +#if(!$pageDoc.content.toLowerCase().contains('summer fellow'))## 12 +#set($parts = $pageDoc.content.split('==='))## 13 +#if($parts.size() >= 3)## 14 +[[$parts.get(1).trim()>>$p]] 15 +#end## 16 +#end## 17 +#end## 18 +{{/velocity}} 19 + 2 2 DONE 3 3 4 -#foreach($p in $services.query.hql( 22 +{{velocity}} 23 +#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' 9 - and lower(doc.content) like '%summer fellow%'" 27 + and doc.fullName <> 'SummerFellowships2026.Done'" 10 10 ).execute())## 11 11 30 +#foreach($p in $pagesDone)## 12 12 #set($pageDoc = $xwiki.getDocument($p))## 13 -# set($parts = $pageDoc.content.split("==="))##14 - 32 +#if($pageDoc.content.toLowerCase().contains('summer fellow'))## 33 +#set($parts = $pageDoc.content.split('==='))## 15 15 #if($parts.size() >= 3)## 16 - <a href="$xwiki.getURL($p,'view')">$parts.get(1).trim()</a><br/>35 +[[$parts.get(1).trim()>>$p]] 17 17 #end## 18 - 19 -#end 37 +#end## 38 +#end## 20 20 {{/velocity}}