Wiki
The Wiki is a very basic system for sharing information with other users. It contains formatted, structured text with external and internal hyperlinks. Pandora ITSM has an ACL system by which you may restrict who has read or write access to it. It also has an extended ACL system by which you may also specify at user level who has permissions to see a page and who does not.
Basic Syntax
Headers
One or more exclamation points are placed at the beginning of a line.
!Heading H2 !!Heading H3 !!!Heading H4 !!!!Heading H5
The more exclamation marks used, the smaller the title (up to 5 exclamation marks). The exclamation marks have to be exactly at the beginning of the line. After saving the edit, each title or subtitle will have a button to edit the corresponding section.
Lists and numbered lists
Each unnumbered list item must begin with one or more asterisks.
* Fruit ** Apple *** Granny smith ** Orange * Vegetables ** Garlic ** Onion
For numbered lists, the numeral symbol is used in the same way:
# First item ## First subitem ### First subsubitem ## Second subitem
Font Styles
Bold: Three single quotes at the beginning and end of the text.
'''bold'''
Italics: Two single quotes at the beginning and end of the text.
''italic''
Underlined: With quotation marks and two underscores at the beginning and end of the text.
'__underlined__'
Strikethrough: With a quotation mark and two hyphens at the beginning and end of the text.
'--strikethrough--'
Links and files
Simple link:
[http://www.example.com/]
Emails and web pages are also automatically recognised:
http://example.com
[email protected]
Web link with text:
[Main project page|http://www.example.com/]
Relative links must start with ./, otherwise it will be interpreted as an internal Wiki page or link.
[Interesting page|./SomeWebPage.html] → Interesting page
Images
Image with web link:
[http://example.com/image.jpg|link=http://example.com/]
Optionally you may place the image to the left, right, or center and add a caption:
[http://example.com/image.jpg|link=http://example.com/|center|title=Big Leon]
Tables of Contents
Table of Contents can be generated automatically with {TOC}
. Each title or subtitle (header) will be used as an item for the table of contents.
Source code
Useful when you need to display exactly one text and without any formatting. Use {{
, the code or text and close with }}
.
{{ import sys if len(sys.argv) == 2: print "Hello",sys.argv[1] }}
Horizontal line
Only four hyphens are used together ----
on a single line.
Avoiding the Wiki format
Using the ^
character before any special word (character escaping).
^{{code}}
HTML code
HTML code can be entered directly into the Wiki with the {html}
and {/html}
tags. Thus a header could be placed as follows:
{html}<h2>HTML code for H2</h2>{/html}
Line breaks or blank
Use {br}
to enter line breaks and/or blank lines.
First line.{br}Second line.
Wiki Menu
You may modify the Wiki menu by inserting your own links in HTML format. For that you have a special page called side_menu
. Go to the Admin pages section of the Wiki menu, for all pages, including the special side_menu
page.
Enter HTML code in there directly, linking to whatever you want, it can be a Wiki page or something external.
Example: Suppose you have a Wiki page with the name “office”. The link would be something like:
http://localhost/integria/index.php?sec=wiki&sec2=operation/wiki/wiki&page=Office
You need to create a code in the side_menu page in the following format:
<li><a href='http://localhost/integria/index.php?sec=wiki&sec2=operation/wiki/wiki&page=Telephone_ES'>Telephones</a>
Read and write permissions
This feature allows you to manage access to the content. Initially, all pages are accessible and editable by all users. In particular, admin users can create access lists for reading and writing each page in the side menu entries: Read ACL and Write ACL.
If a content has no users in its read or write list, it will be accessible to everyone. When a user is added to the access lists, only those users (and any administrators) will have read or write permission.
To edit the access of a page, open that particular page and from there, using the Read ACL or Write ACL menu options, edit the read or write access lists, accordingly. Each Wiki page will have its own access list.