Changes for page Standard URL Format

Last modified by Anca Luca on 2023/11/10

<
From version < 51.1 >
edited by Vincent Massol
on 2013/03/11
To version < 50.4 >
edited by Vincent Massol
on 2013/02/18
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -32,13 +32,13 @@
32 32  
33 33  It can be:
34 34  
35 -* ##/bin/##: this calls the Struts servlet which will call the right action for the following part of the URL
36 -* ##/wiki/[wikialias]##: calls the same servlet but will be used to determine the subwiki to access if ##xwiki.virtual.usepath## is enabled in ##xwiki.cfg##. Note that you can change the "wiki" part with anything else using ##xwiki.virtual.usepath.servletpath## and by modifying web.xml to reflect the new Struts action name (see [[the URL path based wiki access>>platform:AdminGuide.AccessWiki#HTheURLpathbasedwikiaccess]] for more details)
37 -* ##/xmlrpc/##: call xmlrpc servlet (see [[platform:Features.XMLRPC]] for more details)
38 -* ##/webdav/##: call webdav servlet (see [[Web DAV>>platform:Features.WebDAV]] for more details)
39 -* ##/rest/##: call REST servlet (see [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]] for more details)
35 +* /bin/: this calls the Struts servlet which will call the right action for the following part of the URL
36 +* /wiki/[wikialias]: calls the same servlet but will be used to determine the subwiki to access if ##xwiki.virtiual.usepath## is enabled in ##xwiki.cfg##. Note that you can change the "wiki" part with anything else using ##xwiki.virtual.usepath.servletpath## and by modifying web.xml to reflect the new Struts action name (see [[the URL path based wiki access>>platform:AdminGuide.AccessWiki#HTheURLpathbasedwikiaccess]] for more details)
37 +* /xmlrpc/: call xmlrpc servlet (see [[platform:Features.XMLRPC]] for more details)
38 +* /webdav/: call webdav servlet (see [[Web DAV>>platform:Features.WebDAV]] for more details)
39 +* /rest/: call REST servlet (see [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]] for more details)
40 40  
41 -= Action (OPTIONAL) =
41 += Struts action (OPTIONAL) =
42 42  
43 43  See the [[struts action name>>platform:Main.ShortURLs#HIII.Strutsactionname]] section for more details on how to remove this part of the url.
44 44  
... ... @@ -56,21 +56,21 @@
56 56  
57 57  The page contains wiki contents, objects/classes and attachments.
58 58  
59 -When no page is specified like in the url ##http:~//host/xwiki/bin/view/Space/ ## the "WebHome" page name is used.
59 +If no page is specified like in the url ##http://host/xwiki/bin/view/Space/ ## the "WebHome" page name is used.
60 60  
61 -= Attachment (OPTIONAL) =
61 += Attachment =
62 62  
63 63  This part indicates the attachment you want to download from a particular page.
64 64  
65 65  See [[platform:Features.Attachments]] for more details about attachments.
66 66  
67 -= Query string (OPTIONAL) =
67 += Query string =
68 68  
69 69  == Standard parameters ==
70 70  
71 -Some of the parameters in the URL have a "system" meaning depending of the action.
71 +Some of the parameters in the URL have a "system" meaning depending of the context.
72 72  
73 -=== ##view## Action ===
73 +=== view mode ===
74 74  
75 75  ==== xpage ====
76 76  
... ... @@ -78,7 +78,6 @@
78 78  ** ##raw=1##: Returns the page source as is without any formatting but XML-escaped
79 79  ** ##raw=2##: Returns the page source as is without any formatting (without any escaping)
80 80  * ##xml##: print the exported form of a document. This is what you can find in the xar for each document.
81 -* ##rev##: when specified, redirects to the ##viewrev## action (see below)
82 82  
83 83  ==== outputSyntax and outputSyntaxVersion ====
84 84  
... ... @@ -86,18 +86,12 @@
86 86  
87 87  See [[extensions:Extension.Rendering Module]] for more details on renderers.
88 88  
89 -=== ##export## Action ===
88 +=== export mode ===
90 90  
91 91  See [[platform:Features.Exports]].
92 92  
93 -=== ##viewrev## Action ===
92 +== Generic ==
94 94  
95 -This action is the same as the ##view## action but allowing to address a given revision of the document asked.
96 -
97 -* ##rev##: the version to get, e.g. ##2.3## in ##http:~//host/xwiki/bin/view/MySpace/MyPage?rev=2.3##
98 -
99 -== Custom parameters ==
100 -
101 101  Actions can use URL parameters to modify their action depending on their value.
102 102  
103 103  For example you can make a velocity script that prints the content of this value with:

Get Connected