Difference between revisions of "Getting Started With MediaWiki"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
* You can also use <nowiki><pre></pre></nowiki> to set off preformatted text <pre>like on this line,</pre>though nesting of ''pre'' tags seems a bit buggered.  
 
* You can also use <nowiki><pre></pre></nowiki> to set off preformatted text <pre>like on this line,</pre>though nesting of ''pre'' tags seems a bit buggered.  
 
* The <nowiki><pre></pre></nowiki> tags put items on a separate line.  To just set off preformatted text inline <code>like this</code>, use <nowiki><code> </code></nowiki>.  
 
* The <nowiki><pre></pre></nowiki> tags put items on a separate line.  To just set off preformatted text inline <code>like this</code>, use <nowiki><code> </code></nowiki>.  
−
* To make numbered lists, start the list with <nowiki><ol start> </ol start></nowiki> tags, then start each line with a hashtag.
+
* To make numbered lists, surround the list with <nowiki><ol start> </ol start></nowiki> tags, then start each line with a hashtag.
 
* Colons at the start of a line cause indents, more colons, more tab stops.  They also reset the list counts.
 
* Colons at the start of a line cause indents, more colons, more tab stops.  They also reset the list counts.
 
* Put hidden comments (only visible when editing) in your markup by putting them in like this: <pre><!-- This is a comment --\></pre>
 
* Put hidden comments (only visible when editing) in your markup by putting them in like this: <pre><!-- This is a comment --\></pre>

Revision as of 09:18, 19 October 2018

Using MediaWiki

Consult the User's Guide for information on using the wiki software.

MediaWiki Formatting Tips

  • To make code blocks, indent the content with at least 1 space.
  • To put URLs into code blocks without being acted upon use <nowiki> </nowiki> tags around your text, this bypasses a MediaWiki throw back called magic links (community wants to end this function anyway). The nowiki tags can be used to escape other MediaWiki tags, as well, like was done here.
  • You can also use <pre></pre> to set off preformatted text
    like on this line,
    though nesting of pre tags seems a bit buggered.
  • The <pre></pre> tags put items on a separate line. To just set off preformatted text inline like this, use <code> </code>.
  • To make numbered lists, surround the list with <ol start> </ol start> tags, then start each line with a hashtag.
  • Colons at the start of a line cause indents, more colons, more tab stops. They also reset the list counts.
  • Put hidden comments (only visible when editing) in your markup by putting them in like this:
    <!-- This is a comment --\>

You can use this Test Page to try things out.

Managing this MediaWiki Site

  • See User:Admin for How To Administer a MediaWiki and to administer this site.