Changes for page Standard URL Format

Last modified by Anca Luca on 2023/11/10

From version 90.1
edited by Thomas Mortagne
on 2018/08/21
Change comment: There is no comment for this version
To version 92.1
edited by Simon Urli
on 2019/06/06
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.surli
Content
... ... @@ -117,6 +117,15 @@
117 117  * ##http:~/~/<server>/xwiki/bin/view/Space1/Space2?spaceRedirect=false##: Force to always view the ##Space1.Space2## terminal page (even if the ##Space1.Space2.WebHome## page exists and even if the ##Space1.Space2## page may not exist).
118 118  * ##http:~/~/<server>/xwiki/bin/view/Space1[?spaceRedirect=false|?spaceRedirect=true|/]##: Will always view the ##Space1.WebHome## non-terminal page because it is a top level page and we can never have a top-level terminal page.
119 119  
120 +=== Parameter: ##restricted## ===
121 +
122 +Accepted values:
123 +* ##false## (default): the macro transformations are normally executed
124 +* ##true##: macro transformations are executed in degraded mode or not executed at all, depending on the macro implementation.
125 +
126 +In particular, various scripting macro such as Velocity Macro or Groovy Macro are not executed in restricted mode.
127 +This parameter might be then use to check if a page is well displayed for user who cannot execute those scripts for example.
128 +
120 120  == Action: ##viewrev## ==
121 121  
122 122  === Parameter: ##rev## ===
... ... @@ -209,6 +209,22 @@
209 209  
210 210  If set, force the attachment to be downloaded instead of being opened in the browser (it sets the ##Content-Disposition## header to ##attachment## instead of ##inline##).
211 211  
221 +== Action: ##downloadrev## ==
222 +
223 +The additional URL paths for the ##downloadrev## action is ##<space1>/.../<spaceN>/<page>/<attachment>?<query string>##.
224 +
225 +Example:
226 +
227 +* ##http:~/~/<server>/xwiki/bin/downloadrev/Space1/Space2/WebHome/image.png?rev=1.2##: Views the revision ##1.2## of ##image.png## attachment located in the ##Space1.Space2.WebHome## page.
228 +
229 +=== Parameter: ##rev## ===
230 +
231 +The version to get, e.g. ##1.2## in ##http:~/~/<server>/xwiki/bin/downloadrev/Space1/Space2/WebHome/image.png?rev=1.2##
232 +
233 +=== Parameter: ##force-download## ===
234 +
235 +If set, force the attachment to be downloaded instead of being opened in the browser (it sets the ##Content-Disposition## header to ##attachment## instead of ##inline##).
236 +
212 212  == Action: ##create## ==
213 213  
214 214  The additional URL paths for the create action is ##<space1>/.../<spaceN>/<page>?<query string>##.

Get Connected