Difference between revisions of "Getting Started With MediaWiki"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
(added server code organization.)
Line 31: Line 31:
 
<li>Have them place the file in the /downloads/mentor.wiki directory (/downloads at the root level, not within the main mentor.wiki directory) using eXtplorer, accessible from the Admin page.</li>
 
<li>Have them place the file in the /downloads/mentor.wiki directory (/downloads at the root level, not within the main mentor.wiki directory) using eXtplorer, accessible from the Admin page.</li>
 
<li>Create a link to the file by inserting the following into your page <pre><nowiki>[https://mort11.com/downloads/mentor.wiki/FileName.ext Viewable link text to the File]</nowiki></pre></li>
 
<li>Create a link to the file by inserting the following into your page <pre><nowiki>[https://mort11.com/downloads/mentor.wiki/FileName.ext Viewable link text to the File]</nowiki></pre></li>
−
<li>Replace spaces in the name with <code>%20</code></li>
+
<li>Replace spaces in the name with <code>%20</code>; better yet exclude spaces (see 2).</li>
 
</ol>
 
</ol>
 +
 +
Organization of the code on the server:
 +
*<code>/www/</code>                      : off root of filessytem- the main mort11.com site is here
 +
*<code>/www/mentor.wiki</code>            : the main mentor wiki root.
 +
*<code>/www/downloads/mentor.wiki</code>  : the main mentor wiki uploaded file repository.
 +
 +
 +
 +
  
 
=== Test Page ===
 
=== Test Page ===

Revision as of 13:55, 3 February 2019

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>, or for text without the box, just use <tt> </tt>.
  • 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 --\>

Using Category to tag Pages

Adding [[Category:MyCategoryName]] to the bottom of all pages in a category will provide a link to an Index, of all pages in that category. For example, see the Programming Category.

More details about Categories

Images and Files

  1. In order to incorporate images or files, you have to have them hosted externally, or uploaded to the server by one of the admins.
Brian Binovsky
Dan Steinmark
Jerry Olup
  1. It's easiest if you remove special characters and spaces from the file name prior to upload.
  2. Have them place the file in the /downloads/mentor.wiki directory (/downloads at the root level, not within the main mentor.wiki directory) using eXtplorer, accessible from the Admin page.
  3. Create a link to the file by inserting the following into your page
    [https://mort11.com/downloads/mentor.wiki/FileName.ext Viewable link text to the File]
  4. Replace spaces in the name with %20; better yet exclude spaces (see 2).

Organization of the code on the server:

  • /www/ : off root of filessytem- the main mort11.com site is here
  • /www/mentor.wiki : the main mentor wiki root.
  • /www/downloads/mentor.wiki : the main mentor wiki uploaded file repository.



Test Page

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.