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