Getting Started With MediaWiki
Jump to navigation
Jump to search
Using MediaWiki
Consult the User's Guide for information on using the wiki software.
- Formatting Help (Note that this link is available on every editing page by clicking Editing help.)
- Formatting Tables
- Images (not enabled in this manner, see below)
Sections
- Major and minor sections are demarked with by using a title with 2 or more equal signs on each side. Both will show up automatically in a Table of Contents at the top of the page is there are enough of them.
- For Major sections, use 2:
== Level 2 headings are indicated like this == - For Minor sections, use 3 or more:
=== Level 3 headings are indicated like this ===
Links
- Links can be external or internal
- Create an external link like this, for example:
[https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Formatting Formatting Help].
- This shows up like this: Formatting Help
- Create an internal link like this, for example:
[[Test Page]]
- which shows up like this: Test Page.
- For this type of link just use the page name.
- If the page has not yet been created, clicking the link gives the ability to create a page with the name specified.
- (Try not to accidentally create pages from typos, they can be hard to delete.)
- which shows up like this: Test Page.
- Or for an internal link with a different text than the name of the page, use a format like this:
[[Test Page | More descriptive text to the Test Page]],
- which shows up like this: More descriptive text to the Test Page
MediaWiki Formatting Tips
- Extra indentation - start the line with a colon
:. Use more colons for more indentation (tab stops). They also reset the list counts. - Bulleted lists - just start with an asterisk
*. More bullets gives deeper indentation. Or combine with the colon indentation character like this::* - Numbered lists - just start with a hashtag
#. For fancier lists, use the<ol start>tag, and<li>designator with matching end tags. (Look it up.) - Bold items (if the fancy editor is unavailable), surround the text with 3 single quote marks,
'''like this''', which shows up like this: like this - Italic items (if the fancy editor is unavailable), surround the text with 2 single quote marks,
''like this'', which shows up like this: like this - Inline Code Blocks - to set off preformatted text within a block on a line,
like this, use the code delimiter: <code> </code>, - Inline preformatted text - For text without the box, just use <tt> </tt>.
- Larger Code Blocks, indent the content with at least 1 space. This looks like this:
for (i = 0; i < 1, i++) {
if Even(i) {
Print(i);
}
}
- Don't Format - to put URLs into code blocks without being acted upon use
<nowiki> text </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> text </pre>to set off preformatted textlike on this line,
though nesting of pre tags seems a bit buggered.
- Note the <pre></pre> tags put items on a separate line.
- 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.
Images and Files
- 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
- Brian Binovsky
- It's easiest if you remove special characters and spaces from the file name prior to upload.
- Have them place the file in a subdirectory of /downloads/mentor.wiki directory, (/downloads at the root level, not within the main mentor.wiki directory) using eXtplorer, accessible from the Admin page.
- Create a link to the file by inserting the following into your page
[https://mort11.com/downloads/mentor.wiki/Subdirectory/FileName.ext Viewable link text to the File]
- 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.