Wiki source code of Editing: Simple vs. Advanced

Version 26.2 by Vincent Massol on 2025/04/18

Show last authors
1 There are two types of users in XWiki, [[Simple and Advanced users>>extensions:Extension.User Module.User Profile Application.UserTypes.WebHome]]. Depending on the type a user has, the editing capabilities are different.
2
3 {{id name="HSimpleMode"/}}
4
5 == Simple user ==
6
7 {{image reference="EditSimpleMode.png" width="650px"/}}
8
9 Clicking on the "Edit" button has the following behavior for a Simple user:
10
11 * If the page is displayed by a [[sheet>>extensions:Extension.Sheet Module]] (e.g., has an associated object with a sheet), then the page is edited in [[Inline form>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]] edit mode.
12 * If the page is a plain wiki page (i.e., doesn't use a sheet):
13 ** If WYSIWYG is the defined editor //and// the page syntax supports it, editing happens [[in-place>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HIn-placeediting"]].
14 ** Otherwise, editing defaults to the [[Wiki edit mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HWikieditingmode"]].
15
16 {{id name="HAdvancedMode"/}}
17
18 == Advanced user ==
19
20 The Advanced user type provides access to all editing modes, intended for users familiar with XWiki internals and programming features. After switching to the Advanced type from the [[User Profile>>extensions:Extension.User Module.User Profile Application.WebHome]] page, the "Edit" button reveals a dropdown with the following options:
21
22 * [[Wiki>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HWikiediting"]]: Edit raw wiki content.
23 * [[Form Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]]: Edit page content via a form (when a sheet is available).
24 * [[Object Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HObjectseditingmode"]]: Edit objects attached to the page.
25 * [[Class Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HClasseseditingmode"]]: Edit the class definition associated with the page.
26 * [[Access Rights Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HAccessRightseditingmode"]]: Available for [[Terminal pages>>Documentation.UserGuide.Features.ContentOrganization||anchor="HTerminology"]] only. For [[Nested Pages>>Documentation.UserGuide.Features.ContentOrganization||anchor="HTerminology"]], use "Administer Page" under "More Actions" (three-dot menu).
27
28 {{image reference="EditAdvancedMode.png" width="650px"/}}
29
30 === Related pages ===
31
32 * [[User types>>extensions:Extension.User Module.User Profile Application.UserTypes.WebHome]]
33 * [[User Profile application>>extensions:Extension.User Module.User Profile Application.WebHome]]

Get Connected