HydraWiki contribution manual
The first step in contributing to the development of HydraWiki is to create a user account. Click on the Create account link on the upper right corner of the HydraWiki website and follow the instructions.
- 1 Creating/Editing new pages
- 2 Main elements of the markup text formatting of the wiki
- 3 Citing and bibliography
- 4 Figures
- 5 Mathematical formulae
- 6 Add the page to proper categories
- 7 See also
- 8 References
Creating/Editing new pages
To start writing an article first it is better to search the article title with the search tool, in order to make sure it does not exist. editing an existing article is very straightforward: click the "Edit" link on the right side over the article title.
Please do not forget to add the page into proper categories! (see below).
Easiest way to start a new article
The easiest way to start an article is to use the search tool. If the page for the searched title doesn't exist (using the search box and "Go" button on the top left corner of the page) then a link will be provided to create the new page. For example, one searches the HydraWiki for "Flow measurement" and there is no page already available, then a new page will be opened with a link to start a page with the searched title (Figure 1).
Clicking the link will lead to a new page creation window with writing environment(Figure 2). Writing inside the new empty page and saving the content, will create the new page with the searched phrase as its title. One important point is that if one requires to create the page with correct capitalization rule, the searched phrase must be written in the exact required form.
Main elements of the markup text formatting of the wiki
Formatting the text in HydraWiki applies the Mediawiki markup language. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, include it in two pairs of apostrophes like
''this''. See the complete formatting documentation of the wiki markup language.
Citing and bibliography
For citing any reference use the
<ref> tag, which allows to create references as footnotes on page. In wiki markup, like HTML, tags deliver special functions. The basic concept of the
<ref> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section for references, which you indicate with the placeholder tag
<references/> . for example the following reference element
<ref> reference 1 text body </ref>
is placed after the end of this sentence, which make the citation number and the footnote of the bibliography at the references section of this article  .
Multiple citation of the same reference
To give a reference a unique identifier, use <ref name="name">:
<ref name="name"> reference 2 text body </ref>
You can then refer to the same reference again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can use a terminated empty ref tag that looks like this: <ref name="name" />.
Following is an example. After this sentence we refer to a reference (e.g. reference 2) for the first time . Then, in the second time here, we refer to reference 2 with just using its tag name .
However, in HydraWiki we have added the CrossReference extension to be able to add figures and referring to them with automatic numbering. To add an image with automatic numbering use the following syntax as an example.
<figure id="fig:figureID"> [[File:example.jpg|thumb|center|400px|'''<xr id="fig:figureID" />''': caption text ]] </figure>
the following image is an example figure with the ID of "ExampleImage":
to make the above image we used the following sintax:
<figure id="fig:ExampleImage"> [[File:example.jpg|thumb|center|400px|'''<xr id="fig:ExampleImage" />''': caption text ]] </figure>
Refer to an image in the text using the CrossReference
<xr> tag with the following example syntax
<xr id="fig:ExampleImage" />,
which refers to the example Figure 3.
The multiple image template from Wikipedia has been imported to the HydralabWiki, and therefore the capabilities of this feature are available here (see sample image below). To get more information about inserting multiple images with the desired format please take a look at the comprehensive guide of this template.
Write mathematical formulae with the
math tag. the syntax written between the tags is the same as LaTeX. for example writing the following line
<math> E = mc^2 </math>,
results in the following form
In Wikipedia the equations are recommended to be indented using one or more colons (:). for example the following
::<math> E = mc^2 </math>
is rendered as
Add the page to proper categories
Management and structuring the articles in Mediawiki is implemented by the concept of categorization, in order to group together pages on similar subjects. Categories allow articles to be placed in one or more groups and allow groups of categories to be further categorized. Therefore, there could be sub-categories and parent categories in a tree-like structure. In order to add a page to a category just Put the category name at the bottom of the page in editing mode as follows.
- [[Category:CATEGORY NAME]]
Two important points worth mentioning are:
- Be sure the category, which the page attributed to, is in the lowest level possible in its category tree.
- A page can be associated with more than one category.
See also Content Structure in HydraWiki.
- reference 1 citation text
- reference 2 citation text