Wiki syntax: Difference between revisions

From IMAGE
Jump to navigation Jump to search
Line 24: Line 24:
|-
|-
|Change text style
|Change text style
|<nowiki>'''Bold text'''</nowiki><br><nowiki>''Italic text''</nowiki>
|<nowiki>'''Bold text''' (3 single quotes)</nowiki><br><nowiki>''Italic text'' (2 single quotes)</nowiki>
| <b>Bold text</b><br><i>Italic text</i>
| <b>Bold text</b><br><i>Italic text</i>
|}
|}

Revision as of 14:50, 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'. In the following table the standard styling syntax is summarized.

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

header 2

=== header 3 ===

header 3

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

How to make lists

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