Difference between revisions of "Getting Started With MediaWiki"
Jump to navigation
Jump to search
Dsteinmark (talk | contribs) |
Dsteinmark (talk | contribs) |
||
| Line 5: | Line 5: | ||
* [https://www.mediawiki.org/wiki/Help:Images Images] (not enabled in this manner, see below) | * [https://www.mediawiki.org/wiki/Help:Images Images] (not enabled in this manner, see below) | ||
| − | + | === MediaWiki Formatting Tips === | |
| − | |||
* To make code blocks, indent the content with at least 1 space. | * To make code blocks, indent the content with at least 1 space. | ||
| Line 16: | Line 15: | ||
* 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> | ||
| − | + | === Using ''Category'' to tag Pages === | |
Adding <code><nowiki>[[Category:MyCategoryName]]</nowiki></code> 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 [https://mort11.com/mentor.wiki/index.php/Category:Programming Programming Category]. | Adding <code><nowiki>[[Category:MyCategoryName]]</nowiki></code> 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 [https://mort11.com/mentor.wiki/index.php/Category:Programming 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. | # In order to incorporate images or files, you have to have them hosted externally, or uploaded to the server by one of the admins. | ||
| Line 34: | Line 32: | ||
</ol> | </ol> | ||
| − | + | === Test Page === | |
You can use this '''[[Test Page]]''' to try things out. | You can use this '''[[Test Page]]''' to try things out. | ||
Revision as of 13:19, 19 October 2018
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)
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.
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 the /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/FileName.ext Viewable link text to the File]
- Replace spaces in the name with
%20
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.