Working With Wikis¶
The Wiki application provides the content productivity to portal users as a tool to forge the unstructured knowledge. With Wiki, you can create and edit pages by using a simplified markup language or a WYSIWYG editor. Also, your company can use Wiki as an internal reference, such as work policy or a public wiki for comprehensive product information. Wiki along with Forums will complete the ideal combination that helps users enhance their experiences on collaboration activities and build valuable knowledge center for clients.
Tip
When accessing wiki application, a welcome page is displayed indicating in which wiki you are in.
If you are in a user’s wiki application, the welcome page
will display the message Welcome to $FirstName $LastName Wiki, where FirstName and LastName are the first and the last name of the user.
If you are in a space’s wiki application, the welcome
page will display the message Welcome to Space $SpaceName Wiki, where SpaceName is the space name.
Note
The message of the welcome page in Wiki application, either for users profiles or spaces is a static message.
It tooks the first set parameters i.e. the first $FirstName and $LastName set by the user and the first $SpaceName set by the space’s creator.
For example, in the case below, the first space name chosen by its creator was “PM Team” then changed to “Product Management Team” but the wiki welcome page contains always Welcome to Space PM Team Wiki.
This chapter covers the following topics:
Steps to perform common actions on a Wiki page (for example, creating, editing, using the editor, managing drafts, adding a related page, and attaching files); information about spreading your content; how to manage page changes (by comparing between 2 versions or by watching); and ways to organize your content.
Steps specified for administrators to change space settings, manage permissions and author content via WebDAV.
Wiki layout
After opening Wiki, you should see the Wiki homepage as below:
In which:
: The Breadcrumb which shows the page hierarchy.
: The Wiki administration area which allows administrators only to configure the Wiki settings.
: The Search box.
: The pages tree view.
: The Page Control area which helps users take actions with the current page.
: The page content.
: The page information. Click number of attachment(s) to open the Attachments details panel at the bottom of the page. Click Public or Restricted to update the permissions of the page.
The breadcrumb in Wiki shows the page hierarchy to help you know where you are staying. Additionally, you can navigate to another space right in the breadcrumb of the current Wiki navigation. To quickly switch to another space, simply click the currently browsed space name:
Type your desired space name in the search box to filter the space and click your space name from the search results. Then you will be redirected to the Wiki home of the selected space. The “My Wiki” and “Intranet” are displayed by default, which will direct you to the homepage of your personal Wiki and Intranet Wiki accordingly.
Page hierarchy in Wiki
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.
Wiki Spaces
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:
Intranet wiki: The global wiki of the Social Intranet.
An Intranet 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. The group wiki can be accessed by members of that group.
For example:
User wiki: The wiki of an individual user.
Every user has his own Wiki. You can switch to My Wiki from the Select Location drop-down menu or from the drop-down menu of the display name. See Working with your wiki for more details.
Note
In this document, Spaces are referred as wikis, particularly portal wikis, group wikis and user wikis. Any space which has an implicit root page is named Wiki Home.
Managing your content¶
The section consists of the following topics:
Instructions on how to add and edit a Wiki page.
Instructions on how to share your content with others by publishing your content on the Activity Stream, sharing a link or exporting a page as PDF.
Instructions on how to manage versions of a Wiki page and watch a Wiki page.
Instructions on how to move/delete a Wiki page.
Adding and editing pages¶
This section shows you how to work with Wiki pages via the following topics:
Using WYSIWYG editor (Rich Texteditor)
Creating a page¶
Creating a blank page
Go to a Wiki space in which you want to create a page.
Click Add Page, then select Blank Page.
Enter the title for your page. The page title must be unique.
Enter the content of your page by using Wiki Markup or the WYSIWYG editor.
Click Preview if you want to see how your page looks like.
Click Save to finish.
Creating a page from template
Go to a Wiki space in which you want to create a page.
Click Add Page, then select From Template….
A list of available templates will appear.
You can:
i. Click corresponding to the template you want to see. The
template preview appears.
ii. Tick the checkbox corresponding to the template you want to select for your new page and click Select. The selected template appears.
Enter the title for your page. The page title must be unique.
4. Enter the content of your page by using Wiki Markup or the WYSIWYG editor.
Click Preview if you want to see how your page looks like.
Click Save to finish.
Note
These templates can be created, edited and deleted by administrator. See the Managing a page template section for more details.
Adding an undefined link for creating a page later
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 which are often used to remind other Wiki users to create the page. You must use the Source editor to create the undefined links.
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]] |
2. Click Save to save the page containing the link. The undefined link is underlined.
Click this link to open the Add Page form.
4. Follow the steps stated above to enter the page title, content and save the page.
Editing a page¶
You can edit a page at any time if you have the Edit permission on that page.
Editing the whole page content
To edit the whole page content, click Edit in the Page Control area. Your page will be switched to the Edit mode which allows you to rename the page and edit the page content.
The toolbar in the Edit mode will be changed to activate the following actions.
Details:
Item |
Description |
---|---|
Switches to the Rich Text (WYSIWYG) editor. |
|
Displays 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. |
|
Opens the Wiki syntax help panel. |
|
Shows more syntax help. |
|
Ticks the Publish Activity checkbox to publish your content modification on Activity Stream after saving your changes |
|
Inputs the edit reason if necessary. |
|
Saves the current page and go back to the view mode. Changes will be sent to watchers via mail notification. |
|
Discards the current changes and go back to the View mode. |
Tip
When you input the Version Note
field i.e. the field , and you check the option
Publish on the Activity Stream
, the text appears as a comment to the activity generated
following to the wiki page creation.
You can input the field ``Version Note``even if you did not any change on the wiki page content.
Editing a page section
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 .
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.
Using WYSIWYG editor (Rich Text editor)¶
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 Source Editor for content formatting tasks.
You can switch between the Source and WYSIWYG editors at any
time by clicking or
.
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.
To learn more about the WYSIWYG editor, you can refer to the WYSIWYG editor user guide.
Inserting images and files
Inserting an image
You can insert an attached image or an external image by clicking
on the text editor.
Inserting an attached image
Select Attached Image… from the drop-down menu.
2. Follow the steps in the Adding an attachment to a page section.
Inserting an external image
Select External Image… from the drop-down menu.
Insert the image URL into the input-text box.
Optionally, edit the image parameters by clicking Image Settings.
4. Click Insert Image button to accept inserting the external image into your Wiki page or click Change Image to select another image.
Attaching files
To attach files to a page, follow the steps in the Adding an attachment to a page section.
Working with Macros
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.
Switch to Rich Text editor.
Click Macro, then select Insert Macro… from the drop-down menu.
The Insert Macro form appears.
The macro is classified into different categories: Content, Development, Formatting and Navigation and Other.
Select a macro category.
4. Select your desired macro from the selected categories list, then click the Select button, or simply double-click it. For example, if you select the Box macro, you will go to the macro parameters form.
5. Enter parameters into the corresponding fields for your selected macro. Click Insert Macro to perform your macro insertion, or click Previous to return to the initial Insert Macro form.
Using Source Editor
Syntax Help
If you do not know how to use a syntax, you can use the Syntax Help
function. The Syntax Help is displayed by clicking 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
in the upper right corner or by clicking
again.
You can click at the bottom of the short Help Tips form to open
the Full Syntax Notation page.
You can insert icons, emoticons to emphasize the content. The usage is described in the Full Syntax Notation | Icon/Emoticon Support page with examples so you can easily remember and use them.
Managing drafts¶
While you are creating or editing a wiki page, your modification will be auto-saved as draft in the My drafts page, and a notification message will be shown near the page title.
The draft of this page will be deleted after the page has been saved successfully.
If you cancel creating the new page, a confirmation message will pop up:
Click Yes to accept saving the page as draft to My drafts.
Click No to cancel keeping the draft of the page.
Note
- When you edit an existing page which has modifications saved as
draft, a warning will be shown that you can view, resume or delete the draft.
You can easily manage your drafts in the My Drafts page by clicking BrowseMy drafts.
Here, you can:
Viewing drafts
Click corresponding to the draft you want to view.
The blue words/lines are newly added.
The strike-through pink words/lines are removed.
Resuming drafts
Click your desired page title to continue editing/creating the page with the previously saved modifications.
Deleting drafts
Click corresponding to the draft you want to delete, then click
OK in the confirmation message to accept your deletion.
Working with attachments¶
Attachments are any files enclosed with your pages. They may be images, documents, presentation or multimedia files.
Viewing all attachments of a page
The attachments are displayed at the bottom of a wiki page.
Here, you can:
View or download an attachment by simply clicking the attachment name.
Delete an attachment by simply clicking
.
Adding an attachment to a page
There are two ways to add an attachment to a page:
The first way
In this way, you need to scroll down the page to find the Attachment
panel at the bottom. In case you do not see the Attachment panel, click
at the page header first.
Click Upload New File button to open the upload window.
2. Select a file from your local device, then click Open. The file will then be auto-uploaded.
The second way
You can use this method when editing the page content with WYSIWYG editor (Rich Text editor). This way will create a link for the uploaded file.
Select a page to which you want to add an attachment.
Select Edit at the Page Control area. For more details, see the Editing a page section.
Select the Rich Text editor on the page toolbar.
4. Click on the toolbar of the Rich Text editor, then select
Attached File… from the drop-down menu.
The Link form is displayed as below.
5. Select a file to upload. Now you can upload a new file or select one file from existing files.
Uploading a new file:
i. Double-click Upload new file/Upload file…, or click Upload new file/Upload file… Select in the Current page or All pages tab respectively.
ii. Browse a file from your local device to upload, then select Create Link.
Optionally, you can provide the link label and tooltip by clicking Link Settings before clicking Create Link,
Selecting from existing files: Double-click your desired file, or click the file and select Select.
The form to edit the link parameters appears.
Click Create Link to update the link.
Spreading your content¶
To spread your Wiki content effectively, you can follow the actions below:
Publishing activity¶
Once you have created a Wiki page, your activity will be automatically published in the Activity Stream with the content abstract. However, if you edit a Wiki page, you can choose to share that activity on the Activity Stream so that people can notice your changes.
Note
To share your activity, the page you are working on must be public.
To do this, simply check Publish Activity and press Save to save changes and publish the activity. You can also enter your comment in the Comment field to display your comment with the activity.
People can view the changes you made by clicking and they will
be directed to the Compare Revisions page.
Exporting a page as PDF¶
eXo Platform allows you to export a Wiki page as PDF and download it to your local device as follows:
Go to the Wiki page that you want to export as PDF.
Click More in the Page Control area, then select Export as PDF.
3. Select where to save the PDF file, then click Save/OK to start downloading the PDF file.
Managing page changes¶
eXo Platform allows you to easily follow page changes, view the page history and versions, compare differences between versions, and restore to your desired version via the following topics:
Page versions¶
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 view, you can see all versions of a page.
By default, the version of a page is displayed in the header, and each version includes the following information:
Revision numbers.
Author making changes.
Date and time when changes are made.
Summary (if any).
Viewing a page history
To access the page history, just click View Page History in the Page Info <Adding-Related-Page> view.
The Page History appears.
In which:
: Compares selected page versions.
: Selects two versions that you want to compare.
: Specifies the version labels of the page and link to view a specific version.
: The date and time when the page is changed.
: The authors who make changes of the page.
: The reasons why the changes are made (optional).
: Restores a page to the selected version.
Viewing versions of a page
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.
At a version of the page, you can do the following actions:
Compare the current version with the selected one
.
Replace the current version with the selected version
.
Go to the Page History page
.
View content of the previous version by selecting Prev.
View content of the next version by selecting Next.
Comparing page versions
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 Compare the selected versions.
A page which shows the changes between these two versions will be displayed.
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.
Note
Only two revisions can be selected at one time.
Restoring a page version
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 to an older version, click corresponding to your
desired version in the Page History page.
Note
Restoring to 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)], Wiki will create a new version (v.3) containing content of v.1. The version v.3 will become the current version.
Watching a page¶
Watching a page allows you to receive a notification message about any changes in the page.
Watching a page
Open the page you want to watch.
Click More in the Page Control area, then select Watch from the drop-down menu.
A pop-up that informs you have started watching the page will appear. Click OK to close it.
Stopping watching a page
Open the page which you are watching.
Click More in the Page Control area, then select Stop Watching from the drop-down menu.
A pop-up that informs you have stopped watching the page will appear. Click OK to close it.
Organizing your content¶
Moving a page¶
Select a page that you want to move.
Click More in the Page Control area, then select Move Page from the drop-down menu.
The form to select the destination page appears.
Select the destination page.
Click Move.
Deleting a page¶
Open the page you want to delete, then select More in the Page Control area.
Click Delete Page from the drop-down menu.
Click OK in the confirmation message to accept your deletion.
Note
The Delete Page action is not displayed when you are in the Wiki Home.
Advanced settings¶
The section consists of the following topics:
Instructions on how to create/edit/delete a Wiki page template. Also, you will know how to quickly search for your desired template.
Instructions on how to manage the permissions of specific users, groups and memberships on a Wiki or a page.
Instructions on how to use WebDAV to access your workspace and edit a Wiki page.
Managing a page template¶
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.
In the Browse menu, click Wiki Settings to display the templates management form.
Here, you can perform the followings:
Searching for a template¶
This feature allows you to find your desired template quickly from the existing list as follows:
1. Input a word included in the title of your desired template in the Search textbox.
Press the Enter key to start your search.
All matching results which contain your entered search term are displayed right below the textbox.
Note
The Search function is only performed by the template titles and you must enter a complete word into the Search textbox. For example, to find the template whose title contains “daily report”, you can input “report” rather than “repo”, or “daily” rather “ly”.
Creating a new template¶
1. Click Add More Templates in the Wiki Settings page and the sample template form appears.
Add the title for the template.
Write the description in the Description….
Write the content for the template.
5. Click Save Template to accept creating the new template. A message will inform your successful template creation.
Editing a template¶
Click
corresponding to the template you want to edit.
Change the title, the description or the content as you want.
Click Save Template to accept your changes.
Deleting a template¶
Click
corresponding to the template you want to delete.
Click OK in the confirmation message to accept your deletion.
Managing permissions¶
Wiki lets you decide the restrictions to apply on a wiki or a page and to specific users, groups or memberships. So, there are two levels of permissions in Wiki:
Page permissions¶
The Page Permissions allows you to set the View and Edit permissions for a specific Wiki page.
Open a Wiki page that you want to set the permissions.
Click More and select Page Permissions from the drop-down menu.
The Page Permissions form appears.
Pages are viewable/editable according to the Wiki permission. On each page, a user with the Admin Pages permission will be able to override the view and edit permissions on a 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 Permission for the page. Do the same as Adding Wik permissions and Deleting Wiki permissions.
Note
- When ticking any permissions above, if you select a group with the * membership, this permission will be grated to all users of
that group, regardless of their membership role.
- All Page Permissions are restricted to a specific page, therefore any changes made on the page’s permissions will not
affect both its children and parents.
Wiki permissions¶
Wiki permissions determine which actions a user can perform. A permission can be assigned to any users, groups or memberships.
To change the Wiki permissions, click Browse and select Wiki Settings from the drop-down list. Select the Permission tab in the Wiki Settings page.
There are some permissions on a Wiki as follows:
Permission |
Description |
---|---|
View Pages |
Specifies who can view and watch pages of this Wiki, its attachments and history. |
Edit Pages |
Specifies who can edit pages of this Wiki. |
Admin Pages |
Specifies who have the administration rights on pages of this Wiki. |
Admin Wiki |
Specifies who can administrate the Wiki permissions and settings. |
In the Permission tab, you can:
Adding Wiki permissions of the users, groups and memberships.
Deleting Wiki permissions of the users, groups and memberships.
Adding Wiki permissions
You can add permissions for individual users, groups of users or memberships.
1. Click to assign permissions to a user, a membership or a group
respectively. The form to select the user, the membership and the group appears.
Select a user, a membership or a group, then click Add.
Note
When ticking any permissions above, if you select a group with the * membership, this permission will be granted to all users of that group, regardless of their membership role.
3. Click Add to add the selectors to the User or Group column in the Permission form.
4. Tick the checkboxes corresponding to each permission you want to assign to the selectors.
Click Save to commit.
Note
View and Edit permissions are applied by default to any Wiki pages unless specific page permissions are set. The super user has all permissions implicitly.
Deleting Wiki permissions
To delete the permissions of a user, group or membership, just click
corresponding to a user or group or membership in the Permissions form.
WebDAV support in Wiki¶
To make easy for Wiki resources management, you can access these resources using WebDAV. Besides the way stated here, you can use the following URL format to access the Wiki resources:
http://mycompany.com:port/rest/private/jcrwiki/{RepositoryName}/{WorkspaceName}/{Path}
dav://mycompany.com:port/rest/private/jcrwiki/{RepositoryName}/{WorkspaceName}/{Path}
Accordingly, to access the Wiki Home of the “Support Team” space over Nautilus - the file manager for example, you can use either of the following URLs:
After successful login, you will see the WebDAV drive with all content in that Wiki space.
Each folder is a wiki page. The folder name is the same as the wiki page title.
“content” is the file that stores the page content.
Now you can access this drive anytime and manage its folders/files via WebDAV. See Editing a wiki page using WebDAV for more details.
Editing a wiki page using WebDAV¶
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.
Save the file.
Note
You can copy/move/delete a page by copying/moving/deleting the corresponding folder.