From Pemmican Trails

Jump to: navigation, search

Contents

What is a Wiki?

A wiki is a website that uses special wiki software to provide pages that are easily edited by anyone. The software used at Pemmican.org is the same software used by Wikipedia, a popular free web encyclopedia.

Is My Work Safe?

All wikis have built in version control which means that any changes anyone makes to a page can always be undone. The history of every page is saved in a database and you always have the option of undoing previous changes by clicking on the History link in the Views panel on your right.

You also have the option of watching pages for changes. To do this, click on the Watch link in the Views toolbox on your right when you are signed in. This will add the page to your personal watch list. Whenever someone changes a page that you are watching, you will be automatically notified of the changes via email.

Editing a Wiki

You can edit any unprotected page on this wiki by clicking on the edit link in the Views panel on the right-hand side of the page. This will bring up a new view where you can see and change the markup language of the page that you are editing. Wiki Markup is really just the text of the page with a few special characters added to denote formatting.

For example:

This is some '''bold''' text under this heading. Note that ''italics'' can be used in places and '''''both''''' in other cases. A link to [http://www.google.com Google] can be added easily, and so can internal links to say the [[Main Page]].

This would be displayed to page viewers as:

This is some bold text under this heading. Note that italics can be used in places and both in other cases. A link to Google can be added easily, and so can internal links to say the Main Page.

There is a very useful Cheat Sheet available that summarizes some of the most commonly used formatting.

Creating a New Page

New pages can be created easily by searching for the page from the search box at the top-right corner of this page. If the page does not exist already, you will be given the option to create this page. Click on the link and then add text into the page and save it to have the page created.

Working with Text

Different levels of headings should be created to organize your text. For example the headings above were created using the following markup:

==Editing a Wiki==
===Working with Text===

Basic formatting such as bold and italic text can be added using a series of single quotes (not double quotes!):

''Italic''
'''Bold'''
'''''Bold and Italic'''''

Which would be displayed as follows:

Italic
Bold
Bold and Italic

Links to an external or internal web pages can be added as follows:

[http://www.google.com Google Site]
[[Main Page]]

This would give the following links:

Google Site
Main Page

Lists and bullets can be added as well:

# one
# two
## two point 1
# three

* First
* Second
** First point under second
* Third

There are tons more formatting options available for text if you just search online for MediaWiki or Wikipedia markup.

Working with Images

Images up to 2 MB in size can be uploaded to the website by clicking on the Upload File link in the Toolbox panel on your right. Note that you must be logged in for this feature to work. To insert an image into a page all that needs to be added is:

[[Image:SomeNewImageToUpload.jpg]]

If the image exists then the full-sized version will appear in the page. If the image does not exist, then the page will contain a link to a page where you can upload one:

File:SomeNewImageToUpload.jpg

You could click on this link to upload an image (please don't for this example). Generally, though, you will either want to show images in a gallery or as thumbnails. To show an image as a thumbnail, add markup of the following form to your page:

[[Image:APairOfSturdyHikingBoots.jpg|thumb|This caption will appear under the image.]]

This will create a thumbnail that floats off to the right of the page with a caption beneath it. Any text following the image will wrap nicely around it, which is usually what you want for your articles.

This caption will appear under the image.

If you intend to display more than one related thumbnail it is preferred that these be displayed in a gallery. Galleries can be added to the page using a special XML tag containing a list of images on separate lines. The only disadvantage to this method is that a link is not automatically generated for non-existent images. In this case, you will need to upload the image using the Upload File link in the Toolbox panel on your right.

As an example:

<gallery perrow="3">
Image:WetBootsDryingInTheSun.jpg|Caption under the first image.
Image:CampShoesCrocks.jpg|Caption under the second image.
Image:ThisImageDoesntExist.jpg|This image doesn't exist yet (please don't add it).
</gallery>

This will generate the following gallery of images:

Again, if you need to do anything special, there is a whole lot more markup for images at your disposal.

Example Page

A Help:Example Page page exists which you can play around with. It contains a sample article that you are free to mess around with in order to play with the features of this wiki.

Including a Page in a Category

Pages can also be included under categories. For example, if you added a new article about winter camping you should probably add the following at the end of the article:

[[Category:Articles about Winter Camping]]

This will automatically add your page to the category and insert a box into the article with a link to the category page.

Working with the GoogleTrailMap Extension

This is a very basic extension that was created specifically for this site to insert a Google Map with trail markers into the Trail Map page. You can add markers of your own to that page.

To add a new park marker, add a new line like the following into the tag:

park|48.428517|-88.766785|Sleeping Giant Provicial Park

The values 48.428517 and -88.766785 are the latitude and longitude values of a location on a Google Map (see below for an easy way to get these).

To instead add a new trail marker, you can add a line like the following into the tag:

trail|normalIcon|50.910285|-100.801449|Tilson Lake Loop|'''Tilson Lake Loop'''<br/><br/>The [[Tilson Lake Loop]] is a multi-use trail located in the western portion of Riding Mountain National Park. This side of the park is not as densely forested as the eastern side, providing views over open meadows and rolling hills....<br/><br/>[[Tilson Lake Loop|Read more...]]

You are allowed to specify either normalIcon or ghostIcon for trails which will display either the normal trail icon or the slightly-transparent icon (for trails that do not yet have trail descriptions on this site).

Note that in order to get the latitude and longitude of trails from a Google Map, there is a neat little trick that you can follow. Center a Google Map onto the location that you would like to get the location of and then enter the following into the address bar of your browser:

javascript:void(prompt(,gApplication.getMap().getCenter()));

A message box will pop up displaying the latitude and longitude [1]. If you have any problems with this custom extension, send an email to zach.degner@gmail.com and he will look into it.

Utility for Creating Trail Guides

If you would like to contribute a guide to a trail, you can either create the pages yourself or use a handy little tool that makes creating trail pages a little easier. See the page for WikiTrailCreator to download this tool.

Further Information

If you need further help with editing pages there is a plethora of additional information available from the web. Up-to-date help for wiki users is also available online from MediaWiki's Help:Contents page.

References

  1. Tech Recipies - Get Latitude and Longitude values from Google Maps.