Wiki Quick Help
From WikiWiki
Contents |
[edit] Edit Navigation
http://www.thewestbrooks.com/bruce/wiki/index.php?title=MediaWiki:Sidebar
See example: http://www.mediawiki.org/wiki/MediaWiki:Sidebar
[edit] Add New Page
[edit] Easy Way #1
Simply enter the title of your new page in the "search" box, then click "GO" (not Search). You will be prompted that "There is no page titled.... You can create this page." Just click the link for "...create this page."
[edit] Easy Way #2
If you're linking to a new page from a current page, simply enter the wiki's URl for the new page. For instance...
http://www.thewestbrooks.com/bruce/wiki/index.php?title=ARTICLE
...replacing ARTICLE with the name you want for your new page. When you click that new link, you'll be taken to a blank page that indicates no article of that name exists yet. Click the "edit" page tab and you can create it.
Also see: http://www.mediawiki.org/wiki/Help:Starting_a_new_page
[edit] HTML "keys" for Documentation
Found a cool way to create "keys" for documentation - like this:
CTRL+ALT+BACKSPACE
<style type="text/css">
.key { background-color: #eeeedd; padding: 0px 0.4em 0px 0.4em; margin: 0px 0.2em 0px 0.2em; border: 3px outset; font-family: monospace; font-size: small; font-weight: bold; }
</style>
<span class="key">CTRL</span>+<span class="key">ALT</span>+<span class="key">BACKSPACE</span>
I simply placed the style in the master HEAD via the ./wiki/skins/MonoBook.php file, right below the <!-- Head Scripts --> remark.
[edit] Overflow Long Code
With long code lines that you don't want to wrap or have have continue past the edge of the screen, you can put in a scroll bar by specifically defining the pre tag with the overflow style, like this:
<pre style="overflow:auto;"> ...code here... </pre>
[edit] Page Protection or "Hidden" Pages
To protect a page from anonymous viewing, simply include it int the Protected category by adding the following code to the very end of the page:
[[Category:Protected]]
You will then need to be logged in to view and edit that particular page. I use the DisallowAccessOnCategory extension to add this functionality, which seems to work very well for simple page protection.
[edit] Links
[edit] Internal Links
To use internal links within the site - that is, linking from one page to another - you need to know the wiki page name of the page you want to link to (in the URL the page name is the name following the title=). For instance, although I call my tips and tricks page for Linux "Linux Tips/Tricks", the actual page in the wiki is named "Linux_Main".
In order to format this link, you simply type the page name, followed by the pipe symbol, then type whatever you want the link to appear as (the name or title), all enclosed in double brackets - for instance...
[[Linux_Main|My big, bad Linux tips page]]
...would display like this, My big, bad Linux tips page, and link to the Linux_Main page.
[edit] External Links
External links are formatted similar but different. You simply type the URL, including the protocol (most likely http://, but obviously could be https:// or ftp://), followed by the name or title you want to give the link, all enclosed in single brackets. For instance...
[http://www.google.com Here is your Google link]
...would display like this, Here is your Google link, and link to Google's site.
[edit] More Help
I have a more thorough walkthru on editing the Wiki here: Wiki WalkThru
MediaWiki has a ton of help in their Help manual, found here: MediaWiki Help Contents

