### ### List document comments ### ### TODO: web service? ### #if($xwiki.getWebPreferenceAsInt("commentsorder",1)==1) #set($comments = $doc.getComments()) #else #set($comments = $doc.getComments(false)) #end
$msg.get("comments"): $comments.size()
#end