MediaWiki Environment

From RFF Wiki
Revision as of 06:01, 6 May 2019 by Wikiadmin (talk | contribs)
Jump to: navigation, search

This page is aimed for editors of the Online Manual of TSGA Services. It contains important links to the WikiMedia Syntax

Further information can be found at the MediaWiki page: https://www.mediawiki.org/wiki/MediaWiki


Linking

Internal Linking

enter the following statement in your text

[[chapter name]]

If the article already exists, a link is added in blue color. if the article does not exist, a link is added in red color. If you click on the link the editor to create a new article appears. Edit the new article and save. If you want to show an alternative text for the article link

[[page name|alternative title]]

Internal Link to chapter in article

Use the following syntax

[[article name#chapter name]]
or
[[article name#chapter name|alternative text]]

External Link

Pure URL: just write the URL e.g. www.wikipedia.org

If you want to add an alternative text use the following syntax:

[URL alternative text] e.g. [www.tsga.eu TSGA]

For further details see https://de.wikipedia.org/wiki/Hilfe:Links

Headings

Addition sections (headings) to a page by using the following syntax

== heading 1 ==
=== heading 2 ===
==== heading 3 ====

Table of content is added automatically when more than 3 headings/sections

Text formatting

''text'' = kursiv
'''text''' = fett
'''''text''''' = fett + kursiv
---- = horizontal line
* = Bulletpoint List
** = Subbullet
*** = Subsubbullet
# = Numbered List
## = sublist
### = subsublist

Include Images

First upload the image as .jpg or .png file by using the menu entry Upload file on the right

Adding the image to a page

[[file:filename.png]] – add image
[[file:filename.png|title]] – add image with title in a small popup remark
[[file:filename.png|border]] – add image with a small grey border
[[file:filename.png|frame]] – add image with a frame including the title at the bottom left of the frame
[[file:filename.png|center]] – image centered, right = image aligned right, standard alignment is left
[[file:filename.png|link=pageName]] – image with interal link to wiki page
[[file:filename.pnglink=http://xxxx]] – image with external link
[[file:filename.png|link=]] – image without link

see also [[1]]

Changing the Sidebar

Edit the sidebar on this page: [[2]] You have to be logged in as a user with administrator rights.

see MediaWiki Syntax for Side Bar

Adding new user to MediaWiki

use the php script createAndPromote.php to add a new user, change the password or add a user to a user group

see MediaWiki | createAndPromote.php

run the script on the server in the directory ../../var/www/html/mediawiki_tsga/maintenance