Help:Wiki

From wiki
Jump to: navigation, search

Wiki formatting setting not to forget: Check Mediawiki advanced editing [1] for more.

<syntaxhighlight lang='bash'>
</syntaxhighlight>
Block of code formatted for the specified language
<nowiki>
</nowiki>
Do not apply wiki formatting on this block
; Definition list term (<dt>)
: Definition list definition or just indent(<dd>)
:: Indent more
* Bullit list
  • Bullit list
# Numbered list
  1. Numbered list
[[category:name]]
Add this page to category 'name'
[[wikipage|alt text]]
Link to page on local wiki. When provided 'alt text' is displayed instead of the page name.
[[wikipage#Anchor|alt text]]
Link to anchor on local wiki page. Headings, span and div's are automatic anchors.
<span id=Anchor1></span>
<div id=Anchor1></div>
=Heading=
Create anchor (works for each heading level)
[URL text]
Link to URL. When text is not provided the link's consecutive number is displayed.
''italics''
'''bold'''
'''''bold italics'''''
<code>Fixed width text</code>


Tables

{| table start, required
|+ table caption, optional; only between table start and table row
|- table row, optional on first row—wiki engine assumes the first row
! table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
| table data cell, optional.> Consecutive table data cells may be added on same line separated by double marks (||) or start on new lines, each with its own single mark (|).
|} table end, required

Template:

{| class="wikitable" style="width:60%"
|+ Caption
! Header
! Header
|-
| Content
| Content
|}

Caption
Header Header
Content Content


Edit the sidebar (not the Tools section there).
Like editing a wikipage, goto //yourwikiurl/index.php?title=MediaWiki:Sidebar
Syntax is a bit different, e.g. no [[]] for links
More info on the MediaWiki manual

Delete page history

20180817 BEWARE, yet untested

  1. Prodecure found here [2] that just invokes # php deleteOldRevisions.php --delete
  2. A more complex suggestion
  3. This page advises to go to Special:Nuke, which does not exist on my wiki.