User's manual

From COST Action FP0804: FORSYS
Revision as of 12:06, 27 May 2009 by Afalcao (Talk | contribs)

Jump to: navigation, search

Introduction

This is a very brief summary of the most basic functionality of the Mediawiki platform, the same that powers Wikipedia. A more through description can be found here

http://www.mediawiki.org/wiki/Manual:FAQ

Section 4.1, is particularly useful for the first steps:

http://meta.wikimedia.org/wiki/Help:Editing

An excellent offline resource (actually online for these subscribing Safari is the book Mediawiki, by Daniel Barrett[1].


VERY IMPORTANT NOTE: This is a basic wiki text manual. For entering Decision Support basic information It is highly recommended that the template provided is used, filling the appropriate sections as needed. An example of use can be found here.

Basic text editing

Any article in the wiki can be edited just by clicking the "Edit" tab in the top of the article. Doing so will provide with a very simple interface for editing text. Some basic functionalities are present with some predefined buttons for various types of editing. What follows is a basic description of the most important editing options available with examples for its application

These are the basic formatting options for writing in bold or italic

''this text should appear in italic''
'''This text should appear in bold'''
''''This is bold and italic''''


Create a new page

There are 2 basic ways:

  1. Search for the new page in the search box (in the left of the page) – if the term does not exist it will allow the creation of this page, by pressing the link "You can create this page"
  2. When editing a page, inserting a link to a specific definition (see below), even if the page does not exist, will allow the creation of this new page by following the link.

Editing a page

These are some of the more common formatting issues

Section headings

To define a heading for a section just use the "=" sign to specify the heading level

= Heading 1 =  (best not to use it)
== Heading 2 ==
=== Heading 3 ===
...

Bullets and numbered lists

The basic syntax involves the use of "*" and "#". Example:

*  a bulleted item
** a bulleted item in another level
# an item in a numbered list
## an item in a numbered list in level 2

will appear as

  • a bulleted item
    • a bulleted item in another level
  1. an item in a numbered list
    1. an item in a numbered list in level 2

Tables

Each table begins with "{|" and ends with "|}" in separate lines. Columns are separated with "||" and a new row starts with "|-" in a new line. Table headings start with “!” for the first column or "!!" for the remaining columns . To add a border, the first line should be "{| border ="1" ". Formatting individual rows can be done by defining the style after the "|-" sign. Here's a simple example:

{| border ="1" 
!Letter !! Number
|- align="center"
|Aleph ||  1
|- align="center"
|Beth ||  2
|}
>

For which the outcome is:

Letter Number
Aleph 1
Beth 2

Links

Internal links

Links to the internal wiki can be specified by enveloping the relevant words with "[[" and "]]". If an alternate text is to be presented it appears separated by a "|". Example:

The [[fast | quick]] brown [[fox]] jumps over the lazy [[dog]]s

which produces:

The quick brown fox jumps over the lazy dogs

Outer links

Links to outside pages. Just typing the full http link is enough for an outside link. If alternate text is required, It is enough to use simple square brackets and whaite space as as a separator. Example

You can use [http://www.google.com this search engine] to find the information requested

giving:

You can use this search engine to find the information requested

Sub-pages

Several systems may be composed of subsystems. Sub-pages allow for a given topic to be subdivided in several independent sections that automatically ling to the parent. To add a sub page, the procedure is similar to adding a link, including a slash to indicate the sub-page. Example

The Example DSS system is divided into two main modules: 
* [[Example DSS/SHRIMP | SHRIMP]], for growth and yield prediction;
* [[Example DSS/OYSTER | OYSTER]] for management modeling

which is presented as:

The Example DSS is divided into two main modules:

  • SHRIMP, for growth and yield prediction;
  • OYSTER for management modeling

Categories

Pages can be grouped into Categories. A page can have several categories and a category can include several pages. To add a Category it is just necessary to include the tag [[Category:my_category]] anywhere on the text. Categories will appear in the bottom of the page. Inserting a non-existent Category, will link to a page allowing for its definition.

Categories can be further grouped into super categories, by inserting another Category tag into the text of a Category. A simple example:


In the Caribbean System ™ the Optimization process uses Simulated Annealing a Meta heuristic ([[Category:Simulated Annealing]]), To categorize Simulated annealing as a meta-heuristic just add this super category in the text that defines the simulated annealing category ([[Category: Optimization meta-heuristics]])

An initial list of all categories is provided here for initial categorization of systems introduced in the platform.

References to published work

References to published work can be inserted anywhere in the text by using a special tag: <ref>and </ref> to begin and end a reference to a specific work, which is inserted directly in the text. Example

However, as Walrus and Carpenter have referred <ref> Walrus M, Carpenter J(1872) 
"The time has come to talk of many things". Sealing Wax press, Vol.1 No.2
</ref> the sea is actually boiling hot.  

which is presented as

However, as Walrus and Carpenter have referred [2] the sea is actually boiling hot.


Using this procedure will generate automatically a references section just by including <references/> anywhere in the article being edited

Inserting Images

Images can be added easily to wiki pages following these simple steps:

  1. Write the link to an image on the page [[Image:my_forest.gif]] and save the page
  2. click on the link that appears and upload the image. Make sure the name uploaded matches the link

Images can be aligned to the right or left by specifying the alignment:

[[Image:big_forest.jpg | right]]

To link to pictures not directly shown up use:

[[Media:bigger_forest1.jpg | A nice picture]]

References

  1. Barret, JD (2008) Mediawiki - wikipedia and beyond. O'Reilly. Sebastopol, CA. 358pp
  2. Walrus M, Carpenter J(1872) "The time has come to talk of many things". Sealing Wax press, Vol.1 No.2