{docbook}
    <highlights>
        <itemizedlist>
            <listitem>
                <para>
                   <link linkend="KSuser.Work_with_Wiki_pages">Work with Wiki pages</link>
				</para>
				<para>
					Steps to perform actions on a Wiki page, including: creating, editing, moving, deleting, viewing page information and watching a page.
                </para>
            </listitem>
            <listitem>
                <para>
                   <link linkend="KSuser.Work_with_attachment">Work with attachments</link>
				</para>
				<para>
				Instructions on how to perform actions related to attachments: viewing all attachments in a page, adding attachments, and inserting images.
                </para>
            </listitem>
            <listitem>
                <para>
                   <link linkend="KSuser.Wiki.Use_WYSIWYG_editor">Use the WYSIWYG Editor (Rich Text editor)</link>
				</para>
				<para>
				Introduction to the <emphasis role="bold">WYSIWYG</emphasis> editor that allows you to edit a wiki page using the <emphasis role="bold">Rich Text</emphasis> editor.
                </para>
            </listitem>
			 <listitem>
                <para>
                   <link linkend="KSuser.Wiki.Syntax_Help">Syntax Help</link>
				</para>
				<para>
					Introduction to the <emphasis role="bold">Syntax Help</emphasis> feature of Wiki.
                </para>
            </listitem>
            <listitem>
                <para>
                   <link linkend="KSuser.Wiki.Work_with_Macros">Work with Macros</link>
				</para>
				<para>
				Steps to use Macros to apply extra formatting, functionality and customization to your content.
                </para>
            </listitem>
            <listitem>
                <para>
                   <link linkend="KSuser.Wiki.Work_with_Page_versions">Work with page versions</link>
				</para>
				<para>
					Introduction to the <emphasis role="bold">Page History</emphasis> view, and steps to view versions of a page, compare different versions of a page, or restore pages to a version.
                </para>
            </listitem>
			 <listitem>
                <para>
                   <link linkend="KSuser.Wiki.Work_with_Spaces">Work with Spaces</link>
				</para>
				<para>
					Introduction to the permanent bookmarkable URLs to all wiki pages.
                </para>
            </listitem>
            <listitem>
                <para>
                   <link linkend="KSuser.Wiki.Search">Search</link>
				</para>
				<para>
					Steps to do <emphasis role="bold">Quick Search</emphasis> and <emphasis role="bold">Advanced Search</emphasis> supported in the <emphasis role="bold">Wiki</emphasis> application.
                </para>
            </listitem>
            <listitem>
                <para>
                   <link linkend="KSuser.Wiki.WebDAV">WebDAV support in Wiki</link>
				</para>
				<para>
					Introduction to the <emphasis role="bold">WebDAV</emphasis> support in <emphasis role="bold">Wiki</emphasis>, steps to access your workspace and to edit a page by using <emphasis role="bold">WebDAV</emphasis>.
                </para>
            </listitem>
			<listitem>
                <para>
                   <link linkend="KSuser.Wiki.Wiki_Administration">Wiki Administration</link>
				</para>
				<para>
					Steps to change Space settings and manage Permissions that are for administrators only.
                </para>
            </listitem>
        </itemizedlist>
    </highlights>
{docbook}

This section provides you with instructions on how to use all *Wiki* features and configure the *Wiki* application to make it work in your desired way.
Before going further, you should know some basic concepts about *Wiki* through [accessing the *Wiki* application|#KSuser.access_knowledge]. You will be directed to the *Wiki* homepage as below:

!images/wiki_overview.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

*Details*:
||Item|| Description||
|!images/no1.png|width="4mm" fo:scalefit="1" html:scalefit="0"!|The *Breadcrumb* which shows the page hierarchy.|
|!images/no2.png|width="4mm" fo:scalefit="1" html:scalefit="0"!|The Wiki administration area which allows administrators only to configure the space settings. |
|!images/no3.png|width="4mm" fo:scalefit="1" html:scalefit="0"!|The *Search* box.|
|!images/no4.png|width="4mm" fo:scalefit="1" html:scalefit="0"!|The pages tree view.|
|!images/no5.png|width="4mm" fo:scalefit="1" html:scalefit="0"!|The *Page Control* area which helps users take actions with the current page.|
|!images/no6.png|width="4mm" fo:scalefit="1" html:scalefit="0"!|The page content.|
|!images/7.png|width="4mm" fo:scalefit="1" html:scalefit="0"!|The page information. Click *View Change* to see changes in the latest versions. Click *Attachment(s)* and *Revisions* links to open the *Attachments* details pane and the *Revisions* pane respectively. These two panes can be collapsed by clicking the relevant links again. |

{docbook}
<para xml:id="KSuser.Wiki_Overview.Page_hierarchy">
<citetitle>
<emphasis role="bold">Page hierarchy in Wiki</emphasis>
</citetitle>
</para>
{docbook}

The *Wiki* content is organized as a page tree in which each page may contain many sub-pages. The hierarchy is reflected on UI by the *Breadcrumb* and the page tree in the left pane. When a page is added, it is always defined as a sub-page to the current one. You can have wikis for portals, wikis for groups or users.

{docbook}
<para xml:id="KSuser.Wiki_Overview.Wiki_spaces">
<citetitle>
<emphasis role="bold">Wiki Spaces</emphasis>
</citetitle>
</para>
{docbook}

Space is a set of pages, so the spaces partitioning means that spaces are independent trees. This separation enables *Wiki* to provide knowledge spaces for different groups.

There are 3 space types:

* *Portal wiki*: The global wiki of a portal.

A portal wiki is published for every user who can access that portal.

* *Group wiki*: The wiki of a space.

A group wiki can be understood as a space wiki. The wiki application of a space works as a group wiki for that space ({{"/Spaces/name\_of\_space"}} group). The group wiki can be accessed by members of that group.

For example:

!images/group_wiki.png|width="150mm" align="center" fo:scalefix="1" html:scalefix="0"!

* *User wiki*: The wiki of an individual user.

Every user has his own wiki. The URL to an user wiki is in the following format:  {{.../wiki/user/name\_of\_user}}.

For example:

!images/user_wiki.png|width="150mm" align="center" fo:scalefix="1" html:scalefix="0"!

{docbook}
<note>
    <para>
    In this document, Spaces are referred as wikis, particularly portal wikis, group wikis and user wikis.
    </para>
    <para>
    Any space which has an implicit root page is named Wiki Home.
    </para>
</note>
{docbook}

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}
* [About user roles|#KSuser.about_role]
* [Access Knowledge applications|#KSuser.access_knowledge]
* [Build a forum|#Platform_User_Guide.Knowledge.Build_Forums]
* [Build an Answers & FAQs system|#Platform_User_Guide.Knowledge.Build_FAQs]

h1. Work with Wiki pages {anchor:id=KSuser.Work_with_Wiki_pagesRoleNotInToc}

Pages are places where information in *Wiki* is stored and shared. Pages are stored within a space. Actions that a user can perform on a specific wiki page depends on permissions assigned by the administrator. See the [Page Permissions|#KSuser.Wiki_Administration.Page_permissions] for detailed permissions.

h2. Create a page {anchor:id=KSuser.Work_with_Wiki_pages.Create_pages}
There are two ways to create a page:

*The first way* {anchor:id=KSuser.Work_with_Wiki_pages.Create_pages.First_way}

In this way, you need to use the toolbar.

*1.* Go to a Wiki space in which you want to create a page.

{docbook}
<para>
 <emphasis role="bold">2.</emphasis> Click <guilabel>Add Page</guilabel>, then select <guilabel>Blank Page</guilabel> or <guilabel>From Template...</guilabel> to add a page with a template.</para>
{docbook}

!images/add_wiki_page.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!
{docbook}
<para>If you select <guilabel>From Template...</guilabel>, a list of available templates will appear.</para>
{docbook}

!images/wiki_template.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

You can:
{docbook}
<para>
  <emphasis role="bold">i.</emphasis> Click <guilabel>Preview</guilabel> corresponding to the template you want to see. The template preview appears.</para>
{docbook}

!images/Wiki_template_preview.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!
{docbook}
<para>
 <emphasis role="bold">ii.</emphasis> Click <guilabel>Select</guilabel> corresponding to the template you want to select for your new page. The selected template appears.</para>
{docbook}

!images/wiki_available_template.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

*3.* Enter the title for your page. The page title must be unique.

*4.* Enter the content of your page by using *[Wiki Markup|#KSuser.Wiki.Syntax_Help]* or the *[WYSIWYG|#KSuser.Wiki.Use_WYSIWYG_editor]* editor.

{docbook}
<para>
 <emphasis role="bold">5.</emphasis> Click <guilabel>Preview</guilabel> if you want to see how your page looks like.</para>
{docbook}

{docbook}
<para>
  <emphasis role="bold">6.</emphasis> Click <guibutton>Save</guibutton> to finish.</para>
{docbook}

*The second way* {anchor:id=KSuser.Work_with_Wiki_pages.Create_pages.Second_way}

In this way, you need to use the undefined link in a page.

In the *Wiki* application of eXo Platform, you can add a link pointing to a page which you are going to create later. Such links are called undefined links. These links are often used to remind other *Wiki* users to create the page.

{docbook}
<citetitle>
<para>
<emphasis role="bold">Add an undefined link for creating a page later</emphasis>
</para>
</citetitle>
{docbook}

*1.* Add a link by typing the page title between square brackets '\[.... ]' into your page body.

For example:

||What you type|| What you get||
| \[eXo User Guide\] | !images/undefined_link.png|width="17mm" fo:scalefit="1" html:scalefit="0"! |

{docbook}
<para>
  <emphasis role="bold">2.</emphasis> Click <guibutton>Save</guibutton> to save the page containing the link. The undefined link is underlined.</para>
{docbook}

{docbook}
<para>
 <emphasis role="bold">3.</emphasis> Click this link to open the <guilabel>Add Page</guilabel> form.</para>
{docbook}

*4.* Follow the steps stated [above|#KSuser.Work_with_Wiki_pages.Create_pages.First_way] to enter the page title, content and save the page.

h2. Edit a page {anchor:id=KSuser.Work_with_Wiki_pages.Edit_pages}
You can edit a page at any time if you have the *Edit* permission on that page.

{docbook}
<citetitle>
<para>
<emphasis role="bold">Edit the whole page content</emphasis>
</para>
</citetitle>
{docbook}

{docbook}
  <para>To edit the whole page content, click <guilabel>Edit</guilabel> in the <guilabel>Page Control</guilabel> area. Your page will be switched to the <emphasis role="bold">Edit</emphasis> mode.</para>
{docbook}

!images/page_control.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

Now, you can rename the page and edit the page content. In the *View* mode, hover your cursor over the page title and double-click to edit it. The toolbar in the *Edit* mode will be changed to activate the following actions.

!images/wiki_page_edit.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

*Details:*
||Item|| Description||
|!images/no1.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Switch to the *Rich Text (WYSIWYG)* editor. |
|!images/no2.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Display the preview mode of the currently edited content. Previewing a page helps you verify the result of rendering the markup you just entered without saving. |
|!images/no3.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Open the Wiki syntax help pane. |
|!images/no4.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Show more syntax help. |
|!images/no5.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Input the edit reason if necessary. |
|!images/no6.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Save the current page and go back to the view mode. Changes will be sent to watchers via mail notification. |
|!images/7.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Save the current page without sending notification to the watcher. |
|!images/8.png|width="4mm" fo:scalefit="1" html:scalefit="0"!| Discard the current changes and go back to the *View* mode. |

{docbook}
<citetitle>
<para>
<emphasis role="bold">Edit a page section</emphasis>
</para>
</citetitle>
{docbook}

To edit only a section in the whole page content, hover your cursor over the title of the section you want to edit, then click !images/Wiki_edit_icon.png|width="4mm" fo:scalefit="1" html:scalefit="0"!.

!images/Wiki_edit_section.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

The selected section will be switched to the *Edit* mode.

{tip}
In the *View* mode, you can quickly edit the page title by double-clicking it, then press *Enter* when finishing.
{tip}


h2. Move a page to another location {anchor:id=KSuser.Work_with_Wiki_pages.Move_pages}

*1.* Select a page that you want to move.

{docbook}
<para>
 <emphasis role="bold">2.</emphasis> Click <guilabel>More</guilabel> in the <guilabel>Page Control</guilabel> area, then select <guilabel>Move Page</guilabel> from the drop-down menu.</para>
{docbook}

!images/wiki_move_page.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!

The form to select the destination page appears.

!images/wiki_destination_page.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

*3.* Select the destination page.
{docbook}
<para>
 <emphasis role="bold">4.</emphasis> Click <guibutton>Move</guibutton>.</para>
{docbook}

{note}
The *Move page* action is not displayed when you are at the Wiki Home. You can only move pages inside a wiki space and not between spaces.
{note}

h2. Delete a page {anchor:id=KSuser.Work_with_Wiki_pages.Delete_pages}
{docbook}
<para>
  <emphasis role="bold">1.</emphasis> Open the page you want to delete, then select <guilabel>More</guilabel> in the <guilabel>Page Control</guilabel> area.</para>
{docbook}

!images/Delete_page.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>
  <emphasis role="bold">2.</emphasis> Click <guilabel>Delete Page</guilabel> from the drop-down menu.</para>
{docbook}
{docbook}
<para>
  <emphasis role="bold">3.</emphasis> Click <guibutton>OK</guibutton> in the confirmation message to accept your deletion.</para>
{docbook}
{docbook}
<note>
<para>
The <emphasis role="bold">Delete page</emphasis> action is not displayed when you are in the Wiki Home.
</para>
</note>
{docbook}


h2. View page information {anchor:id=KSuser.Work_with_Wiki_pages.View_page_info}

Viewing page information is accessible to users who have the View permission on that page. The page information provides details about related pages of the current page, the hierarchy structure of the current page, the page history, and more.

*1.* Select the page you want to view the information.
{docbook}
<para>
            <emphasis role="bold">2.</emphasis> Click <guilabel>More</guilabel> from the page toolbar, then select <guilabel>Page Info</guilabel> from the drop-down menu.</para>
{docbook}

All information of the opening page, including page summary, related pages, page hierarchy, recent changes will be displayed.

!images/wiki_page_info.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

Here, you can do the following actions:
* [Add a related page|#KSuser.Work_with_Wiki_pages.Add_related_pages]
* [View a page history|#KSuser.Work_with_Wiki_pages.View_page_history]

h3. Add a related page {anchor:id=KSuser.Work_with_Wiki_pages.Add_related_pages}
This feature allows you to add pages related to your page. This function can be done in the *Page Info* view and is activated to users with the Edit permission.
{docbook}
<para>
  <emphasis role="bold">1.</emphasis> Click <guilabel>Add More Relations</guilabel> in the <link linkend="KSuser.Work_with_Wiki_pages.View_page_info">Page Info</link> view, then select the related pages in the <guilabel>Select a page</guilabel> window.</para>
{docbook}

{docbook}
<para>
  <emphasis role="bold">2.</emphasis> Click <guibutton>Select</guibutton> to add the selected page to the list of the <guilabel>Related Pages</guilabel>.</para>
{docbook}

!images/wiki_select_page.png|align="center" width="100mm" fo:scalefit="1" html:scalefit="0"!

The related pages of the opening page are displayed in the side pane as below.

!images/wiki_related_page.png|align="center" width="70mm" fo:scalefit="1" html:scalefit="0"!


h3. View a page history {anchor:id=KSuser.Work_with_Wiki_pages.View_page_history}
{docbook}
<para>To access the page history, just click <guilabel>View Page History</guilabel> in the <link linkend="KSuser.Work_with_Wiki_pages.View_page_info">Page Info</link> view.</para>
{docbook}

The *History Page* appears.


!images/page_history.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

*Details:*

||Item|| Function ||
|!images/no1.png| width="4mm" fo:scalefit="1" html:scalefit="0"!|[Compare selected page versions|#KSuser.Work_with_page_version.Compare_versions].|
|!images/no2.png| width="4mm" fo:scalefit="1" html:scalefit="0"!|Allow you to select two versions that you want to compare.|
|!images/no3.png| width="4mm" fo:scalefit="1" html:scalefit="0"!|Allow you to specify the version labels of the page and [link to view a specific version|#KSuser.Work_with_page_version.View_versions].|
|!images/no4.png| width="4mm" fo:scalefit="1" html:scalefit="0"!|The date and time when the page is changed. |
|!images/no5.png| width="4mm" fo:scalefit="1" html:scalefit="0"!|The authors who make changes of the page.|
|!images/no6.png| width="4mm" fo:scalefit="1" html:scalefit="0"!|The reasons why the changes are made (optional).|
|!images/7.png| width="4mm" fo:scalefit="1" html:scalefit="0"!|[Restore a page to the selected version|#KSuser.Work_with_page_version.Restore_page_version].


h2. Watch a page  {anchor:id=KSuser.Work_with_Wiki_pages.Watch_pages}
Watching a page allows you to receive a notification message about any changes in the page.

{docbook}
<citetitle>
<para>
    <emphasis role="bold">Watch a page</emphasis>
</para>
</citetitle>
{docbook}

*1.* Open the page you want to watch.
{docbook}
<para>
    <emphasis role="bold">2.</emphasis> Click <guilabel>More</guilabel> in the <guilabel>Page Control</guilabel> area, then select <guilabel>Watch</guilabel> from the drop-down menu.</para>
{docbook}

!images/wiki_watch_page.png|align="center" width="60mm" fo:scalefit="1" html:scalefit="0"!


{docbook}
<citetitle>
<para>
    <emphasis role="bold">Stop watching a page</emphasis>
</para>
</citetitle>
{docbook}


*1.* Open the page which you are watching.
{docbook}
<para>
 <emphasis role="bold">2.</emphasis> Click <guilabel>More</guilabel> in the <guilabel>Page Control</guilabel> area, then select <guilabel>Stop Watching</guilabel> from the drop-down menu.</para>
{docbook}

!images/wiki_stop_watch_page.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!

h1. Work with attachments {anchor:id=KSuser.Work_with_attachmentRoleNotInToc}
Attachments are any files enclosed with your pages. The attachments may be images, documents, presentation or multimedia files.

{docbook}
<citetitle>
    <para xml:id="KSuser.Work_with_attachment.View_attachments">
        <emphasis role="bold">View all attachments of a page</emphasis>
    </para>
</citetitle>
{docbook}

*1.* Open the page you want to view attachments.
{docbook}
<para>
<emphasis role="bold">2.</emphasis> Click the <guilabel>Attachment(s)</guilabel> link in the <guilabel>Page info</guilabel> area.</para>
{docbook}

!images/wiki_attachment.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>The <guilabel>Attachment</guilabel> pane of that page will appear:</para>
{docbook}

!images/Wiki_attachments_list.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

Here, you can:
* Download an attachment by simply clicking the attachment name.
* Delete an attachment by simply clicking !images/Wiki_attachment_delete_icon.png| width="3mm" fo:scalefit="1" html:scalefit="0"!.

{docbook}
<citetitle>
    <para xml:id="KSuser.Work_with_attachment.Add_attachment">
        <emphasis role="bold">Add an attachment to a page</emphasis>
    </para>
</citetitle>
{docbook}

There are two ways to add an attachment to a page:

*The first way* {anchor:id=Add_attachment_Attachment_pane}
{docbook}
<para>In this way, you need to open the <guilabel>Attachment</guilabel> pane of the page.</para>
{docbook}

!images/Wiki_upload_attachment.png|align="center" width="100mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>
 <emphasis role="bold">1.</emphasis> Click the <guilabel>Upload New File</guilabel> in the attachment list pane. The upload window will appear.</para>
{docbook}

{docbook}
<para>
  <emphasis role="bold">2.</emphasis> Select a file from your local device, then click <guibutton>Open</guibutton>. The file will be uploaded automatically then.</para>
{docbook}

*The second way* {anchor:id=Add_attachment_WYSIWYG editor}


You can use this method when editing the page content by *WYSIWYG* editor (Rich Text editor).

*1.* Select a page to which you want to add an attachment.
{docbook}
<para>
<emphasis role="bold">2.</emphasis> Select <guilabel>Edit</guilabel> at the <guilabel>Page Control</guilabel> area. For more details, see the <link linkend="KSuser.Work_with_Wiki_pages.Edit_pages">Edit a page</link> section.</para>
{docbook}

*3.* Select the *Rich Text* editor on the page toolbar.

!images/rich_text_editor.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>
            <emphasis role="bold">4.</emphasis> Click <inlinemediaobject>
              <imageobject role="fo">
                <imagedata fileref="images/Link_icon.png" format="PNG" scalefit="1" width="13mm"/>
              </imageobject>
              <imageobject role="html">
                <imagedata fileref="images/Link_icon.png" format="PNG" scalefit="0" width="13mm"/>
              </imageobject>
            </inlinemediaobject> on the toolbar of the <emphasis role="bold">Rich Text</emphasis> editor, then select <guilabel>Attached File...</guilabel> from the drop-down menu.</para>
{docbook}

!images/wiki_attach_file.png|align="center" width="100mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>The <guilabel>Link</guilabel> form is displayed as below.</para>
{docbook}

!images/wiki_link_form.png|align="center" width="100mm" fo:scalefit="1" html:scalefit="0"!

*5.*  Select a file to upload. Now you can upload a new file or select one file from existing files.

* *Upload a new file:*
{docbook}
<para>
 <emphasis role="bold">i.</emphasis> Double-click <guilabel>Upload new file</guilabel>, or click <menuchoice><guimenu>Upload new file</guimenu><guimenuitem>Select</guimenuitem></menuchoice> in the <guilabel>Current page</guilabel> or <guilabel>All pages</guilabel> tab.</para>
{docbook}

{docbook}
<para>
<emphasis role="bold">ii.</emphasis> Click <guibutton>Browse</guibutton> to select a file from your local device, then select <guilabel>Upload</guilabel>.</para>
{docbook}

{docbook}
<itemizedlist>
            <listitem>
              <para>
                <emphasis role="bold">Select from existing files:</emphasis> Click the file, then select <guibutton>Select</guibutton>.</para>
            </listitem>
</itemizedlist>
{docbook}
The form to edit the link parameters appears.

!images/wiki_edit_link.png|align="center" width="80mm" fo:scalefit="1" html:scalefit="0"!

*6.* Provide the link label and tooltip.
{docbook}
<para>
 <emphasis role="bold">7.</emphasis> Click <guilabel>Create Link</guilabel> to update the link.</para>
{docbook}

{docbook}
<citetitle>
    <para xml:id="KSuser.Work_with_attachment.Link_to_image">
        <emphasis role="bold">Insert an image</emphasis>
    </para>
</citetitle>
{docbook}

{docbook}
<para>
            <emphasis role="bold">1.</emphasis> Click <inlinemediaobject>
              <imageobject role="fo">
                <imagedata fileref="images/Image_btn.png" format="PNG" scalefit="1" width="13mm"/>
              </imageobject>
              <imageobject role="html">
                <imagedata fileref="images/Image_btn.png" format="PNG" scalefit="0" width="13mm"/>
              </imageobject>
            </inlinemediaobject> on the text editor, then select <guilabel>Insert Image...</guilabel>
 </para>
{docbook}

!images/wiki_link_to_image.png|align="center" width="100mm" fo:scalefit="1" html:scalefit="0"!
{docbook}
<para>
<emphasis role="bold">2.</emphasis> Select an inserted image of the current page, or click the <guilabel>All Pages</guilabel> tab to select an image attached to another page in the space.</para>
{docbook}

{docbook}
<para>
  <emphasis role="bold">3.</emphasis> Click the <guilabel>Insert Image...</guilabel> button.</para>
{docbook}

h1. Use the WYSIWYG Editor (Rich Text editor) {anchor:id=KSuser.Wiki.Use_WYSIWYG_editorRoleNotInToc}

*WYSIWYG* stands for What You See Is What You Get. The *WYSIWYG* editor allows you to edit an wiki page directly in the wiki markup language. This has the advantage of being faster than the Rich Text Editor for some formatting tasks.

You can switch between the *Source* and *WYSIWYG* editors at any time by clicking !images/rich_text_editor.png|width="40mm" fo:scalefit="1" html:scalefit="0"! or !images/source_editor_btn.png|width="20mm" fo:scalefit="1" html:scalefit="0"!. In the *Source* editor, which is selected by default when you edit a page, you have to use the wiki markup language for text formatting, while the *WYSIWYG* editor enables the content to be appeared during editing that is very similar to the published result. Thanks to available tools on this editor, you can format your content visually without using wiki markups.

!images/wiki_wysiwyg_editor.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<note>
    <para>
    If the final result is not similar to what you wish when editing a page by the <emphasis role="bold">WYSIWYG</emphasis> editor, you can go back to the <emphasis role="bold">Source</emphasis> editor and use <emphasis role="bold">Wiki</emphasis> markups to edit the content.
    </para>
    <para>
    When using the <emphasis role="bold">WYSIWYG</emphasis> editor, examples of commonly used markup are displayed in a lateral panel with a link to the <link linkend="KSuser.Wiki.Syntax_Help"><emphasis role="bold">Full Syntax Notation</emphasis></link> page for more details.
    </para>
</note>
{docbook}

To learn more about the *WYSIWYG* editor, you can refer to the [*WYSIWYG* editor user guide|http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor].

h1. Syntax Help {anchor:id=KSuser.Wiki.Syntax_HelpRoleNotInToc}
If you do not know how to use a syntax, you can use the *Syntax Help* function. The *Syntax Help* is displayed by clicking !images/Wiki_help_btn.png| width="30" fo:scalefit="1" html:scalefit="0"! from the page toolbar. When being clicked, a lateral pane beside the editing area will show all the Confluence syntax information.
The lateral pane can be hidden by clicking !images/Close_button.png| width="4mm" fo:scalefit="1" html:scalefit="0"! in the upper right corner or by clicking !images/Wiki_help_btn.png| width="30" fo:scalefit="1" html:scalefit="0"! again.

!images/Quick_notation.png|align="center" width="50mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>You can click <inlinemediaobject>
            <imageobject role="fo">
              <imagedata fileref="images/More_syntaxes.png" format="PNG" scalefit="1" width="7mm"/>
            </imageobject>
            <imageobject role="html">
              <imagedata fileref="images/More_syntaxes.png" format="PNG" scalefit="0" width="7mm"/>
            </imageobject>
 </inlinemediaobject> at the bottom of the short <guilabel>Help Tips</guilabel> form to open the <emphasis role="bold">Full Syntax Notation</emphasis> page.</para>
{docbook}

You can insert icons, emoticons to emphasize the content. The usage is described in the *Full Syntax Notation* page with example so you can easily remember and use them.

*Example of emoticons and icons*

!images/Smiley_special_notation.png|align="center" width="80mm" fo:scalefit="1" html:scalefit="0"!

h1. Work with Macros {anchor:id=KSuser.Wiki.Work_with_MacrosRoleNotInToc}
By using macros, you can apply extra formatting, functionality and customization to your content.
You can easily add macro tags by using the *Rich Text* editor.

*1.* Switch to [*Rich Text* editor|#KSuser.Wiki.Use_WYSIWYG_editor].
{docbook}
<para>
  <emphasis role="bold">2.</emphasis> Click <guilabel>Macros</guilabel>, then  select <guilabel>Insert Macros...</guilabel> from the drop-down menu.</para>
{docbook}

!images/wiki_macros.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>The <guilabel>Insert Macros</guilabel> form appears.</para>
{docbook}

!images/wiki_macros_form.png|align="center" width="100mm" fo:scalefit="1" html:scalefit="0"!

The macro is classified into different categories: *Content*, *Formatting*, *Navigation*.

*3.* Select a macro category.
{docbook}
<para>
<emphasis role="bold">4.</emphasis> Select your desired macro from the selected categories list, then click the <guilabel>Select</guilabel> button, or simply double-click it. For example, if you select the <guilabel>Box</guilabel> macro, you will go to the macro parameters form.</para>
{docbook}

!images/Macro_parameters_form.png|align="center" width="100mm" fo:scalefit="1" html:scalefit="0"!
{docbook}
<para>
  <emphasis role="bold">5.</emphasis> Enter parameters into the corresponding fields for your selected macro. Click <guilabel>Insert Macro</guilabel> to perform your macro insertion, or click <guilabel>Previous</guilabel> to return to the initial <guilabel>Insert Macro</guilabel> form.</para>
{docbook}

The following table describes specific functions of common macros.
{docbook}
 <informaltable>
          <tgroup cols="2">
            <thead>
              <row>
                <entry>Macro</entry>
                <entry>Function</entry>
              </row>
            </thead>
            <tbody>
              <row>
                <entry>
                  <guilabel>Excerpt</guilabel>
                </entry>
                <entry> Create additional information for the current page and it can be set to "hidden" in the current page, but displayed to add more information as the summary about the page when it is used with the Page Tree macro.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>Include Page</guilabel>
                </entry>
                <entry> Include the content of another page in the current page.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>Box</guilabel> </entry>
                <entry> Draw a box around the provided content.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>Color</guilabel>
                </entry>
                <entry> Change the text color. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Code</guilabel>
                </entry>
                <entry> Highlight code snippets of various programming languages. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Error Message</guilabel>
                </entry>
                <entry> Display an error message note.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>Float</guilabel> </entry>
                <entry> Allow content to 'float' on the left or the right. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Info Message</guilabel> </entry>
                <entry>Display an info message.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>No Format</guilabel> </entry>
                <entry>Keep the content displayed like you type.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>Note Message</guilabel>
                </entry>
                <entry>Display a note message.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>Panel</guilabel> </entry>
                <entry>Embrace a block of text within a fully customizable panel. </entry>
              </row>
              <row>
                <entry>
                  <para>
                    <guilabel>Table</guilabel> <informalexample>
                      <informalexample/>
                    </informalexample>
                    <guilabel>Table cell</guilabel>
                    <informalexample>
                      <informalexample/>
                    </informalexample>
                    <guilabel>Table row</guilabel>
                  </para>
                </entry>
                <entry>
                  <para> Inset a table. <informalexample>
                      <informalexample/>
                    </informalexample>Insert a table cell. <informalexample>
                      <informalexample/>
                    </informalexample>Insert a table row.</para>
                </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Tip Message</guilabel> </entry>
                <entry>
                  <para>Display a tip message block.<informalexample>
                      <informalexample/>
                    </informalexample> </para>
                </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Warning Message</guilabel> </entry>
                <entry>
                  <para>Display a warning message block. <informalexample>
                      <informalexample/>
                    </informalexample> </para>
                </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Anchor</guilabel> </entry>
                <entry>Create an anchor in a page. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Children</guilabel> </entry>
                <entry>Display the children and descendants of a specific page in the current page. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Page Tree</guilabel> </entry>
                <entry>Display the hierarchy of a page in the current page. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Related Pages</guilabel> </entry>
                <entry>Render the related pages of the current page. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Table of Content</guilabel> </entry>
                <entry>Generate a table of content for the current page. </entry>
              </row>
              <row>
                <entry>
                  <guilabel>Section</guilabel> &amp; <guilabel>Column</guilabel> </entry>
                <entry>Write the content in columns. </entry>
              </row>
            </tbody>
          </tgroup>
        </informaltable>
{docbook}

h1. Work with page versions {anchor:id=KSuser.Wiki.Work_with_Page_versionsRoleNotInToc}
When editing the content of a page, *Wiki* will automatically create a version of that page after it is saved. Thanks to the page versions, you can make changes on the page safely and roll back to an earlier version without worrying about messing things up.

In the [Page History|#KSuser.Work_with_Wiki_pages.View_page_history] view, you can see all versions of a page.

Each version includes the following information:

* Revision numbers.
* Author making changes.
* Date and time when changes are made.
* Summary (if any).

{docbook}
<note>
    <para>
    All functions, including viewing, comparing and restoring, can also be done by clicking the <guilabel>Revisions</guilabel> link at the <guilabel>Page Info</guilabel> bar. One pop-up pane appears right under this bar, allowing you to do the same steps as described below.
    </para>
</note>
{docbook}

{docbook}
<citetitle>
    <para xml:id="KSuser.Work_with_page_version.View_versions">
        <emphasis role="bold">View versions of a page</emphasis>
    </para>
</citetitle>
{docbook}

To view a specific version of a page, just click a version label in the *Page History* page. The selected version of that page will be displayed.

!images/wiki_view_version.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

At a version of the page, you can do the following actions:
{docbook}
<itemizedlist>
            <listitem>
              <para>Compare the current version with the selected one <inlinemediaobject>
                  <imageobject role="fo">
                    <imagedata fileref="images/no1.png" format="PNG" scalefit="1" width="4mm"/>
                  </imageobject>
                  <imageobject role="html">
                    <imagedata fileref="images/no1.png" format="PNG" scalefit="0" width="4mm"/>
                  </imageobject>
                </inlinemediaobject>.</para>
            </listitem>
            <listitem>
              <para>Replace the current version with the selected version <inlinemediaobject>
                  <imageobject role="fo">
                    <imagedata fileref="images/no2.png" format="PNG" scalefit="1" width="4mm"/>
                  </imageobject>
                  <imageobject role="html">
                    <imagedata fileref="images/no2.png" format="PNG" scalefit="0" width="4mm"/>
                  </imageobject>
                </inlinemediaobject>.</para>
            </listitem>
            <listitem>
              <para>Go to the <emphasis role="bold">Page History</emphasis> page <inlinemediaobject>
                  <imageobject role="fo">
                    <imagedata fileref="images/no3.png" format="PNG" scalefit="1" width="4mm"/>
                  </imageobject>
                  <imageobject role="html">
                    <imagedata fileref="images/no3.png" format="PNG" scalefit="0" width="4mm"/>
                  </imageobject>
                </inlinemediaobject>.</para>
            </listitem>
            <listitem>
              <para>View content of the previous version by selecting <guilabel>Prev</guilabel>.</para>
            </listitem>
            <listitem>
              <para>View content of the next version by selecting <guilabel>Next</guilabel>.</para>
            </listitem>
          </itemizedlist>
{docbook}


{docbook}
<citetitle>
    <para xml:id="KSuser.Work_with_page_version.Compare_versions">
        <emphasis role="bold">Compare page versions</emphasis>
    </para>
</citetitle>
{docbook}

*Wiki* keeps track of histories of changes on a page by maintaining a version of the page each time it is modified. To compare two versions, select two checkboxes corresponding to each relevant version, then click !images/Compare_selected_button.png| width="25mm" fo:scalefit="1" html:scalefit="0"!.

!images/Select_page_version.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

A page which shows the changes between these two versions will be displayed.

!images/wiki_compare_version1.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

The changes between two versions will be marked with colors:

*  Words/lines which are red-highlighted with strike-throughs indicate that they were removed.
*  Words/lines highlighted in green indicate that they were added.

{docbook}
<note>
    <para>
    Only two revisions can be selected at one time.
    </para>
</note>
{docbook}

{docbook}
<citetitle>
    <para xml:id="Restore a page version to the current version">
        <emphasis role="bold">Restore a page version to the current version</emphasis>
    </para>
</citetitle>
{docbook}

When you notice that there are changes in the current page version that you are not satisfied, you can rollback to an older version of that page quickly.

To restore an older version, click !images/Restore_button.png| width="30" fo:scalefit="1" html:scalefit="0"! corresponding to your desired version in the *Page History* page.

{docbook}
<note>
    <para>
    Restoring an older version will create a copy of that version. For example, if the [current version (v.2)] is restored to the [older version (v.1)], <emphasis role="bold">Wiki</emphasis> will create a new version (v.3) containing content of v.1. The version v.3 will become the current version.
    </para>
</note>
{docbook}

h1. Work with Spaces {anchor:id=KSuser.Wiki.Work_with_SpacesRoleNotInToc}
*Wiki* provides permanent bookmarkable URLs to all wiki pages. *Wiki* will resolve wiki pages by inspecting the URL used to call it. URLs are in the following form:

{code}http://hostname/$CONTAINER/$SITE/$NAV_URI/[$OWNER_TYPE/$OWNER]/$WIKI_PAGE_URI{code}

{docbook}
<informaltable>
          <tgroup cols="2">
            <thead>
              <row>
                <entry> Item</entry>
                <entry> Description</entry>
              </row>
            </thead>
            <tbody>
              <row>
                <entry>
                  <guilabel>$CONTAINER$</guilabel>
                </entry>
                <entry>The portal container.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>$SITE</guilabel>
                </entry>
                <entry>The portal site (e.g,'classic').</entry>
              </row>
              <row>
                <entry>
                  <guilabel>$NAV_URI</guilabel> </entry>
                <entry>The URI of navigation bound to a page containing the <emphasis role="bold">Wiki</emphasis> portlet.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>$OWNER_TYPE</guilabel>
                </entry>
                <entry> May be 'group' or 'user'.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>$OWNER</guilabel> </entry>
                <entry>The wiki owner which can be name of user or of group.</entry>
              </row>
              <row>
                <entry>
                  <guilabel>$WIKI_PAGE_URI</guilabel> </entry>
                <entry>The URI inferred automatically from the wiki page name.</entry>
              </row>
            </tbody>
          </tgroup>
        </informaltable>
{docbook}

Any wiki page should be accessed by a friendly URL. For example:

* Portal wiki URL: http://hostname/portal/classic/wiki/eXo+Wiki+Specification.
* Group wiki URL: http://hostname/portal/classic/wiki/group/platform/Administrators/Admin+Guide.
* Personal wiki page URL: http://hostname/portal/classic/wiki/user/john/Sandbox.

h1. Search {anchor:id=KSuser.Wiki.SearchRoleNotInToc}
In *Wiki*, you can search for spaces, or pages in a space, or attached files via either of 2 types:
* [Quick Search|#KSuser.Wiki.Search.Quick_search]
* [Advanced Search|#KSuser.Wiki.Advanced_Search]

{docbook}
<para xml:id="KSuser.Wiki.Search.Quick_search">
<citetitle>
<emphasis role="bold">Quick Search</emphasis>
</citetitle>
</para>
{docbook}

*1.* Enter a keyword into the search box.

!images/wiki_quick_search.png|align="center" width="170" fo:scalefit="1" html:scalefit="0"!

*2.* Select your desired page from the drop-down menu. You will be redirected to the selected page.

{docbook}
<note>
<para>
If you are in the portal wiki, your quick search will be performed on all wiki spaces, otherwise it will only be performed on the current wiki.
</para>
</note>
{docbook}

{docbook}
<para xml:id="KSuser.Wiki.Advanced_Search">
<citetitle>
<emphasis role="bold">Advanced Search</emphasis>
</citetitle>
</para>
{docbook}

The Advanced Search function allows you to search with a keyword in a specific space. This mode helps you limit the search results.

*1.* Enter a key term into the search box, then hit the *Enter* key.

The search results are displayed like the illustration below.

!images/wiki_advanced_search_result.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!
{docbook}
<para>If no results matched with the keywords, the search screen informs "<guilabel>there is no search result...!</guilabel>"</para>
{docbook}

*2.* Click !images/down_arrow_icon.png| width="4mm" fo:scalefit="1" html:scalefit="0"! to select a space from the drop-down menu to define a scale where to search for the entered word.
{docbook}
<para><emphasis role="bold">3.</emphasis> Click <guibutton>Search</guibutton>.</para>
{docbook}
h1. WebDAV support in Wiki {anchor:id=KSuser.Wiki.WebDAVRoleNotInToc}

The WebDAV enables you to use the third party tools to communicate with hierarchical content servers via HTTP.
It is possible to add and remove documents or a set of documents from a path on the server.

{docbook}
<citetitle>
    <para xml:id="KSuser.Wiki.AccessWorkspaceUsingWebDAV">
        <emphasis role="bold">Access your workspace using WebDAV</emphasis>
    </para>
</citetitle>
{docbook}

To access any workspaces of your repository, you can use the following URL format:

{code}
dav://host:port/rest/jcrwiki/{RepositoryName}/{WorkspaceName}/{Path}
{code}

For example, to access the Wiki Home of the "exo vietnam" space, enter the following URL in the address bar of your OS's explorer (Nautilus is used in this example):

!images/Addressbar.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

You will be asked to enter your username and password.

!images/Login.png|align="center" width="80mm" fo:scalefit="1" html:scalefit="0"!

After login succesfully, you will see all content in that Wiki space.

!images/Wiki_webdav.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

* Each folder is a wiki page. The folder name is the same as the wiki page title.
* The "Content" file is the file storing the page content.

{docbook}
<citetitle>
    <para xml:id="KSuser.Wiki.EditPageUsingWebDAV">
        <emphasis role="bold">Edit a page using WebDAV</emphasis>
    </para>
</citetitle>
{docbook}

*1.* Go to the folder that contains the content you want to edit.

*2.* Use your text editor to edit the "Content" file in this folder. You can use the wiki syntax to format content as normal.

*3.* Save the file.

{note}
* You can copy/move/delete a page by copying/moving/deleting the corresponding folder.
{note}

h1. Wiki Administration {anchor:id=KSuser.Wiki.Wiki_AdministrationRoleNotInToc}

{docbook}
<note>
    <para>
    This section is for administrators only.
    </para>
</note>
{docbook}

The administrator has the highest right in *Wiki*. The administrator can delete a page, change the space settings, set the Edit permission for users and more.

h2. Set up space settings {anchor:id=KSuser.Wiki_Administration.Set_up_space_settings}

For each space, you can manage page templates.

{docbook}
<citetitle>
<para>
    <emphasis role="bold">Access the Space Settings page</emphasis>
</para>
</citetitle>
{docbook}
*1.* Open a *Wiki* space.
{docbook}
<para>
<emphasis role="bold">2.</emphasis> Click <guilabel>Browse</guilabel>, then  select <guilabel>Space Settings</guilabel>.</para>
{docbook}

!images/wiki_space_settings.png|align="center" width="70mm" fo:scalefit="1" html:scalefit="0"!

The *Space Settings* page appear.

!images/wiki_space_settings_page.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

Now, you can:

* [Manage permissions on spaces and pages|#KSuser.Wiki_Administration.Manage_permissions]
* [Manage a page template|#KSuser.Wiki_Administration.Manage_page_tempplate]

h2. Manage Permissions {anchor:id=KSuser.Wiki_Administration.Manage_permissions}
*Wiki* gives you the choice to make a space or an individual page to be open or restricted to specific users, groups or memberships.
There are two levels of permissions in *Wiki*:
* [Space Permissions|#KSuser.Wiki_Administration.Manage_permissions.Space_Permission]
* [Page Permissions|#KSuser.Wiki_Administration.Page_permissions]

h3. Space Permissions  {anchor:id=KSuser.Wiki_Administration.Manage_permissions.Space_Permission}
Each space may have its own permissions. Space permissions determine which actions a user can do within the space. A permission can be assigned to any users, groups or memberships.
{docbook}
<para>To change the space permission, open a space, then click <guibutton>Browse</guibutton> and select <guilabel>Space Settings</guilabel> from the drop-down list. Click <guilabel>Permission</guilabel> in the <guilabel>Space Settings</guilabel> page that appears.</para>
{docbook}

!images/wiki_space_permissions_page.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

There are some permissions on a space as follows:
{docbook}
<informaltable>
              <tgroup cols="2">
                <thead>
                  <row>
                    <entry> Permission</entry>
                    <entry> Description</entry>
                  </row>
                </thead>
                <tbody>
                  <row>
                    <entry>
                      <guilabel>View Pages</guilabel>
                    </entry>
                    <entry>Specify who can view and watch pages of this space, its attachments and history.</entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Edit Pages</guilabel>
                    </entry>
                    <entry>Specify who can edit pages of this space.</entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Admin Pages</guilabel>
                    </entry>
                    <entry>Specify who have the administration rights on pages of this space.</entry>
                  </row>
                  <row>
                    <entry>
                      <guilabel>Admin Space</guilabel>
                    </entry>
                    <entry>Specify who can administrate the space permissions and settings</entry>
                  </row>
                </tbody>
              </tgroup>
            </informaltable>
{docbook}

{docbook}
<para>In the <guilabel>Space Permissions</guilabel> form, you can:</para>
{docbook}

* [Add space permissions of the users, groups and memberships|#KSuser.Wiki_Administration.Add_space_permissions].
* [Delete space permissions of the users, groups and memberships|#KSuser.Wiki_Administration.Delete_space_permissions].

h4. Add space permissions {anchor:id=KSuser.Wiki_Administration.Add_space_permissions}
{docbook}
<para>In the <guilabel>Space Permissions</guilabel> form, you can add permissions for individual users, groups of users or memberships.</para>
{docbook}

*1.* Click !images/select_permission_icon.png| width="14mm" fo:scalefit="1" html:scalefit="0"! to assign permissions to a user, a group or a membership respectively.

The form to select the user, the group and the membership appears.

{docbook}
<para>
<emphasis role="bold">2.</emphasis> Select a user, a group or a membership, then click  <guibutton>Add</guibutton>.</para>
{docbook}

{docbook}
<para>
                <emphasis role="bold">3.</emphasis> Click <inlinemediaobject>
                  <imageobject role="fo">
                    <imagedata fileref="images/Add_selectors.png" format="PNG" scalefit="1" width="14mm"/>
                  </imageobject>
                  <imageobject role="html">
                    <imagedata fileref="images/Add_selectors.png" format="PNG" scalefit="0" width="12mm"/>
                  </imageobject>
                </inlinemediaobject> to add the selectors to the <guilabel>Owner</guilabel> column in the <guilabel>Space Permissions</guilabel> form.</para>
{docbook}

*4.* Tick the checkboxes corresponding to each permission you want to assign to the selectors.

{docbook}
<para>
<emphasis role="bold">5.</emphasis> Click <guibutton>Save</guibutton> to commit.</para>
{docbook}

{docbook}
<note>
    <para>
    View, Edit, Admin Pages permissions are applied by default to any pages of the space unless specific page permissions are set. The super user has all permissions implicitly.
    </para>
</note>
{docbook}

h4. Delete space permissions {anchor:id=KSuser.Wiki_Administration.Delete_space_permissions}

{docbook}
<para>To delete the permissions of a user, group or a membership in a space, just click <inlinemediaobject>
                  <imageobject role="fo">
                    <imagedata fileref="images/Delete_icon.png" format="PNG" scalefit="1" width="4mm"/>
                  </imageobject>
                  <imageobject role="html">
                    <imagedata fileref="images/Delete_icon.png" format="PNG" scalefit="0" width="4mm"/>
                  </imageobject>
                </inlinemediaobject> corresponding to a user or group or membership in the <guilabel>Space Permissions</guilabel> form.</para>
{docbook}

h3. Page Permissions {anchor:id=KSuser.Wiki_Administration.Page_permissions}
The *Page Permissions* allows you to set the View and Edit permissions for a specific page of a space.

*1.* Open a page of the space that you want to set the permissions.

{docbook}
<para>
<emphasis role="bold">2.</emphasis> Click <guilabel>More</guilabel> and select <guilabel>Page Permissions</guilabel> from the drop-down menu.</para>
{docbook}

!images/wiki_page_permissions.png|align="center" width="70mm" fo:scalefit="1" html:scalefit="0"!

{docbook}
<para>The <guilabel>Page Permissions</guilabel> form appears.</para>
{docbook}

!images/wiki_page_permissions_form.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

Pages are viewable/editable according to the space permission. On each page, a user with the *Admin Pages* permission will be able to override the view and edit permissions on this specific page.

A *Page Permissions* action appears in the page action menu when the user has the *Admin Pages* permission.

You can add and delete the *View Pages Permission* or the *Edit Pages Permissions* for the page. Do the same as [Add space permissions|#KSuser.Wiki_Administration.Add_space_permissions] and [Delete space permissions.|#KSuser.Wiki_Administration.Delete_space_permissions]


h3. Manage a page template {anchor:id=KSuser.Wiki_Administration.Manage_page_tempplate}

When adding a new page, you are not required to write the content from scratch. You can start by selecting a page template which is actually a *Wiki* page with predefined content.

{docbook}
<para>In the <guilabel>Space Settings</guilabel> form, select the <guilabel>Template</guilabel> tab and the form to manage templates appears.</para>
{docbook}

!images/wiki_setting_template.png|align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

Here, you can:
* [Search for a template|#KSuser.Wiki_Administration.Search_templates]!images/no1.png|width="4mm" fo:scalefit="1" html:scalefit="0"!
* [Create a new template|#KSuser.Wiki_Administration.Add_templates]!images/no2.png|width="4mm" fo:scalefit="1" html:scalefit="0"!
* [Edit a template|#KSuser.Wiki_Administration.Edit_templates]!images/no3.png|width="4mm" fo:scalefit="1" html:scalefit="0"!
* [Delete a template|#KSuser.Wiki_Administration.Delete_templates]!images/no4.png|width="4mm" fo:scalefit="1" html:scalefit="0"!

h4. Search for a template {anchor:id=KSuser.Wiki_Administration.Search_templates}

This feature allows you to find your desired template quickly from the existing list as follows:
{docbook}
<para>
   <emphasis role="bold">1.</emphasis> Input a word included in the title of your desired template in the <guilabel>Search</guilabel> textbox.</para>
{docbook}

{docbook}
<para>
<emphasis role="bold">2.</emphasis> Press the <emphasis role="bold">Enter</emphasis> key, or click the <guibutton>Search</guibutton> button next to the textbox to start your search.</para>
{docbook}

All matching results which contain your entered search term are displayed right below the textbox.

{docbook}
<note>
    <para>
    The <emphasis role="bold">Search</emphasis> function is only performed by the template titles and you must enter a complete word into the <guilabel>Search</guilabel> textbox. For example, to find the template whose title contains "daily report", you can input "report" rather than "repo", or "daily" rather "ly".

    </para>
</note>
{docbook}

h4. Create a new template {anchor:id=KSuser.Wiki_Administration.Add_templates}

{docbook}
<para>
 <emphasis role="bold">1.</emphasis> Click <guilabel>Add more...</guilabel> in the <emphasis role="bold">Spage Settings</emphasis> page and the sample template form appears.</para>
{docbook}

!images/wiki_sample_template.png|align="center" width="120mm" fo:scalefit="1" html:scalefit="0"!

*2.* Add the title for the template.

{docbook}
<para>
 <emphasis role="bold">3.</emphasis> Write the description in the <guilabel>Description...</guilabel>.</para>
{docbook}

*4.* Write the content for the template.

{docbook}
<para>
<emphasis role="bold">5.</emphasis> Click <guilabel>Save Template</guilabel> at the <guilabel>Page Control</guilabel> area. A message will inform your successful template creation.</para>
{docbook}

h4. Edit a template {anchor:id=KSuser.Wiki_Administration.Edit_templates}
{docbook}
<para>
<emphasis role="bold">1.</emphasis> Click the <guilabel>Edit</guilabel> icon corresponding to the template you want to edit.</para>
{docbook}

*2.* Change the title, the description or the content as you want.
{docbook}
<para>
 <emphasis role="bold">3.</emphasis> Click <guilabel>Save Template</guilabel> at the <guilabel>Page Control</guilabel> area.</para>
{docbook}

h4.  Delete a template {anchor:id=KSuser.Wiki_Administration.Delete_templates}

*1.* Click !images/Delete_icon.png| width="4mm" fo:scalefit="1" html:scalefit="0"! corresponding to the template you want to delete.
{docbook}
<para>
<emphasis role="bold">2.</emphasis> Click <guibutton>OK</guibutton> in the confirmation message to accept your deletion.</para>
{docbook}


