Changes for page Scripting

Last modified by Simon Urli on 2023/10/10

<
From version < 46.1 >
edited by Thomas Mortagne
on 2014/04/07
To version < 47.1 >
edited by Vincent Massol
on 2014/04/23
>
Change comment: Fix doc

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.VincentMassol
Content
... ... @@ -163,13 +163,13 @@
163 163  
164 164  === Controlling Which Sections to Display ===
165 165  
166 -You can control whether to display Comments/History/Attachment/Information sections or not by setting some velocity variables to "no":
166 +You can control whether to display Comments/History/Attachment/Information sections or not by setting some velocity variables to ##false##:
167 167  
168 168  {{code language="velocity"}}
169 -#set ($showcomments = "no")
170 -#set ($showattachments = "no")
171 -#set ($showhistory = "no")
172 -#set ($showinformation = "no")
169 +#set ($showcomments = false)
170 +#set ($showattachments = false)
171 +#set ($showhistory = false)
172 +#set ($showinformation = false)
173 173  {{/code}}
174 174  
175 175  To remove them all you can set:

Get Connected