Editing Beginners Guide to Wiki Editing

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
The wiki markdown language is actually very simple to pick up and use, and you can be editing articles in a matter of minutes, then build in your wiki skills over time! Here are some of the absolute basics.
The wiki markdown language is actually very simple to pick up and use, and you can be editing articles in a matter of minutes, then build in your wiki skills over time! Here are some of the absolute basics.


'''Note: In the latest version of MediaWiki, the wiki software that runs this site, there is now a visual WYSIWYG editor. This editor will allow you to format wiki pages without any code. If you still prefer to edit via source, click on the "Edit source" link.'''
== Basic Editing ==
== Basic Editing ==
The basic rules of editing in WikiMedia are:
The basic rules of editing in WikiMedia are:
Line 61: Line 60:
</pre>
</pre>
|}
|}
For example:
For example:
{|
{|
Line 70: Line 70:
</pre>
</pre>
|}
|}
This produces something which looks like the item on the right!
This produces something which looks like the item on the right!
== Creating Lists ==
== Creating Lists ==
Lists are a very simple and effective way of breaking down and formatting information. They can either be unordered, ordered or a combination of both (nested). Here are a couple of examples:
Lists are a very simple and effective way of breaking down and formatting information. They can either be unordered, ordered or a combination of both (nested). Here are a couple of examples:
Line 109: Line 111:
# Second List Item
# Second List Item
|}
|}
* An mixed nested list (ordered, with unordered sub items) simply starts each line with one or more hash <code>#</code> symbols, combined with asterisks <code>*</code> for sub items:
* An mixed nested list (ordered, with unordered sub items) simply starts each line with one or more hash <code>#</code> symbols, combined with asterisks <code>*</code> for sub items:
{| class="wikitable"
{| class="wikitable"
Line 128: Line 131:
# Second List Item
# Second List Item
|}
|}
NOTE: make sure you leave no blank lines in any ''ordered list'' otherwise your list numbering starts at 1 again!
NOTE: make sure you leave no blank lines in any ''ordered list'' otherwise your list numbering starts at 1 again!


Line 159: Line 163:
|Butter||Ice cream||Milk||Yogurt
|Butter||Ice cream||Milk||Yogurt
|}
|}
The code for this, looks something like the following:
The code for this, looks something like the following:
<pre>
<pre>
Line 176: Line 181:
|}
|}
</pre>
</pre>
== Redirecting Pages ==
== Redirecting Pages ==
You may want to redirect a page for many reasons, either you moved the original article or you want to point multiple article titles to one article. An example of redirection from [[Homelab Storage]] to [[Storage]] would be to add the following code to the [[Homelab Storage]] page:
You may want to redirect a page for many reasons, either you moved the original article or you want to point multiple article titles to one article. An example of redirection from [[Homelab Storage]] to [[Storage]] would be to add the following code to the [[Homelab Storage]] page:
<pre>#REDIRECT [[Storage]]</pre>
<pre>#REDIRECT [[Storage]]</pre>
NOTE: Although it is possible to nest redirects, the auto-redirection will stop on the second redirect, so it is better not to do this. All redirects should go to a single source page.
NOTE: Although it is possible to nest redirects, the auto-redirection will stop on the second redirect, so it is better not to do this. All redirects should go to a single source page.


Line 189: Line 196:
== Starting a New Page ==
== Starting a New Page ==
There are a number of ways to make a new page.
There are a number of ways to make a new page.
=== New WIki Link ===
=== New WIki Link ===
By far the simplest is to use the standard [[Beginners_Guide_to_Wiki_Editing#Wiki_Hyperlinks|Wiki hyperlinks]] (maybe even from the [[Brainstorming]] page, for example:
By far the simplest is to use the standard [[Beginners_Guide_to_Wiki_Editing#Wiki_Hyperlinks|Wiki hyperlinks]] (maybe even from the [[Brainstorming]] page, for example:
<pre>My new link goes in square brackets: [[New Page Title]]</pre>
<pre>My new link goes in square brackets: [[New Page Title]]</pre>
Then simply click on the link, and start writing!
Then simply click on the link, and start writing!
=== Type in a URL ===
=== Type in a URL ===
Alternatively you can just type in the new URL of your article, making sure you replace any spaces with underscores:
Alternatively you can just type in the new URL of your article, making sure you replace any spaces with underscores:
<pre>My new page has a URL: http://openhomelab.org/index.php?title=New_Page_Title</pre>
<pre>My new page has a URL: http://openhomelab.org/index.php?title=New_Page_Title</pre>
== Categories ==
== Categories ==
Each page can be added to one or more categories to aid navigation. Adding a page to a category is easy, just add the markup
Each page can be added to one or more categories to aid navigation. Adding a page to a category is easy, just add the markup
Line 206: Line 216:


Categories can also be applied to uploaded files by adding the appropriate <tt>Category</tt> tag to the description. The top-level category for image files in this wiki is the appropriately titled "[[:Category:Image Files]]".
Categories can also be applied to uploaded files by adding the appropriate <tt>Category</tt> tag to the description. The top-level category for image files in this wiki is the appropriately titled "[[:Category:Image Files]]".
== Further Reading ==
== Further Reading ==
The main WikiMedia help site can be found here:
The main WikiMedia help site can be found here:
* [https://www.mediawiki.org/wiki/Help:Contents WikiMedia Help Site]
* [https://www.mediawiki.org/wiki/Help:Contents WikiMedia Help Site]
A list of the most important articles is as follows:
A list of the most important articles is as follows:
* [https://www.mediawiki.org/wiki/Help:Formatting Formatting]
* [https://www.mediawiki.org/wiki/Help:Formatting Formatting]
Please note that all contributions to Project Homelab may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project Homelab:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)