Wiki syntax: Difference between revisions

From IMAGE
Jump to navigation Jump to search
Line 42: Line 42:
|<nowiki>[[Welcome| Home page IMAGE wiki]]</nowiki>
|<nowiki>[[Welcome| Home page IMAGE wiki]]</nowiki>
|[[Welcome| Home page IMAGE wiki]]
|[[Welcome| Home page IMAGE wiki]]
|-
|rowspan="2"|External link
|<nowiki>http://www.pbl.nl</nowiki>
| http://www.pbl.nl
|-
|<nowiki>[http://www.pbl.nl| Home page PBL]</nowiki>
|[Welcome| Home page PBL]
|-
|-
|<nowiki>=== header 3 ===</nowiki>
|<nowiki>=== header 3 ===</nowiki>

Revision as of 15:30, 21 July 2013

Help wiki general

Help wiki syntax

The default wiki editor, available in edit mode, contains a number of edit functions in buttons above the free text window. In this wiki you will add a lot of content via forms. The buttons won't function in a form and consequently you will have to add style code manually. Remember to use style codes only when necessary. Use headers to divide your text in sections and use them in a hierarchy without gaps, e.g use 'h2' style syntax with subs in 'h3' style syntax etc., and continue with 'h2'.

Styling syntax

In the following table the standard styling syntax is summarized.

Style element Syntax Shows as
Headers == header 2 ==

header 2

=== header 3 ===

header 3

Bulleted list * bullet 1
* bullet 2
** nested bullet
  • bullet 1
  • bullet 2
    • nested bullet
Ordered list # first item
#second item
## nested item
##* nested bullet
  1. first item
  2. second item
    1. nested item 1
      • nested bullet
Change text style '''Bold text''' (3 single quotes)
''Italic text'' (2 single quotes)
Bold text
Italic text

For detailed info see http://www.mediawiki.org/wiki/Help:Formatting

Link syntax

In the following table the standard link syntax is summarized.

Link type Syntax Shows as
Internal link to another page in the wiki [[Welcome]] Welcome
[[Welcome| Home page IMAGE wiki]] Home page IMAGE wiki
External link http://www.pbl.nl http://www.pbl.nl
[http://www.pbl.nl| Home page PBL] Home page PBL]
=== header 3 ===

header 3

Bulleted list * bullet 1
* bullet 2
** nested bullet
  • bullet 1
  • bullet 2
    • nested bullet
Ordered list # first item
#second item
** nested bullet
  1. first item
  2. second item
    1. nested item 1
Change text style '''Bold text''' (3 single quotes)
''Italic text'' (2 single quotes)
Bold text
Italic text

For detaile info see: http://www.mediawiki.org/wiki/Help:Links

Help pictures/images/files

help tables

Publication process

There is an internal PBL wiki and an external wiki. The external wiki is a subset of the internal wiki and is meant to be viewed by webusers. The implementation will be probably (discussion item) by installing one wiki inside the firewall and one wiki outside the firewall. The external wiki will be filled by an import of pages from the internal wiki and periodically updated.

  • Internal wiki: This wiki is visible for PBL persons and external people that can login (?). To all these people in principle all contentpages are visible. However there will be a difference between viewers, writers and administrators, with more options available in this sequence. Viewers can view and discuss; writers will have an extended menu with functions to add content and may edit pages; administrators can change the structure and maintain user rights and use other maintenance functions.
  • External wiki: This is the publishable part of the internal wiki and will be accessible for the outside world via a PBL URL.

How to handle changes

There are several situations with different solutions:

  1. Minor text change, may be a correction or enhancement: Enter the changes in the wiki.
  2. Small adaptations to model components or substantial rewriting of a description: Use the hasStatus property (publishable/ on hold) in the forms. Pages with an status 'on hold' will not be published to the external wiki, that is the wiki as seen by the world outside PBL. You have time to enter the changges and have some checks, on the content and redactional, on the change.
  3. Substantial change resulting in a new version: When making a substantial change to your model by adding a submodule or changing the conceptual model, you can document (and discuss) this change in the namespace 'Next'. This namespace is part of the wiki, but does not influence the content of the so called 'Main' namespace. You can implement the change and document it in the wiki. When the changed model/component is taken in production (new version number of module and framework...), the new description of the component must be copied from the 'Next' namespace to the 'Main' namespace. See the following paragraph for the procedure.

Create new version of an existing component

Steps for creation:

  1. Copy existing component page 'ComponentX' to the page Next:ComponentX
  2. Edit Next:ComponentX and adjust the used template to NextComponentTemplate2 (how?)

Now you have a component in the Next-namespace which you can edit without consequences for the existing wiki. All created links (infobox, inputs/outputs, asumptions, policy interventions,…) will be located in the namespace 'Next'

Steps for publishing, this is an action for the 'gardener':

  1. Copy all pages in the "Main' namespace to the 'Previous' namespace (or only changed component and how ?)
  2. Copy all pages from the 'Next' namespace concerning the new version into the 'Main' (how)

This way we wiil have an active documenation of the previous, current and next version of the IMAGE framework