Example

From ESET Wiki

This Page is meant to host examples of and provide information on the functionalities of this specific wiki. For more detail on this wiki and to see a list of enabled extensions, please visit the Version page. Don't forget to look at the source code for this page to delve even deeper into its examples.

For detailed instructions on how to do things built into mediawiki such as image formating and text formatting, check out Mediawiki.org If there is a function you would like to have added to ESET-Wiki, please contact Dr. Morgan or Will Nault with details on what functionality you would like to add or have added.



Frequently Used

These are just a few of tricks to using and the most used lines while creating and putting together a mediawiki page.


Uploading Images and Files

Before uploading a image/file, please check that it is a permitted file type and under the max limit of 32MB. If your image/file is above this, please make an effort to zip files or compress images. If after making this effort your files are still to large, please contact Will Nault.

To upload an image or file to the wiki, hover your cursor over the gears in the top right corner and click upload file in the drop down menu. You will be redirected to the "Upload file" page. After you have confirmed that your image/file is less than the max file size allowed and file type, click choose file and select your file from the file explorer pop up window.

After selecting your image/file and if your image/file has any spaces in its name, now is your chance to take them out in the "Destination filename" box as these spaces will cause issues in calling them from the page later on.

Once all that is done, click the Upload file button at the bottom of the page. The only issue from this point is that a file is already using the name of your file in which case you would just change the name to one not in use.


Embedding Images and Files

The easiest way to embed the image/file in the page is to click the embed image or embed file button in the editing window. Just replace the highlighted text with your image/file name. For details on how to get your image placed on the page in a certain position or set a certain size, visit the image help page on mediawiki.org.

Creating a New Page

There are two ways to create a page on the wiki. The first one is changing the title of the page in the address bar of your browser to the name you want of your page. However, if the page already exist you will just go that page.

For example, this page's title is "Example" and the url is eset-wiki.net/index.php?title=Example so the part after the "=" is the page's title. Changing "Example" to anything else will either redirect you to that page if it already exists or you will be presented with the option to create a new page.

The other way is to link to the page before it even exist in your source code creating a link to the page which gives the option to create the page once you're there.

An example being this nonexistent page titled Nonexistent: Nonexistent. Notice how the link is red instead of blue signifying that it is not a link to an existing page.


Author Protect

Protecting pages uses the AuthorProtect extension.


Each capstone team's page starts off as protected from edits from users not on the team. Any one user can create a page and that page needs to be protected from edits from outside the team. However, the open nature of vanilla media wiki means that your source code is viewable by anyone.


Using Author Protect

To protect a page you have created, simply

  • Hover over the actions bar and select protect.
  • You will be redirected to a page titled "Change protection level for 'Your Page Name'".
  • Then, check both boxes on the page.
  • You can add a reason or leave everything else blank and click the green confirm button at the bottom of the page.
  • Your page is now protected so only your team can make edits.

Video

Uploading Video Files

Simply upload your video to the wiki on the upload file page and then link to it to provide anyone a link to the video and play it using an in browser video player such as VLC.


Example:

This line of code:

[http://eset-wiki.net/docs/ESET219/LESSON_1-NUMBER_SYSTEMS.avi LESSON 1 NUMBER SYSTEMS]

links to this video uploaded to the wiki.

LESSON 1 NUMBER SYSTEMS


Embedding Videos In Page

Embedding videos uses the YouTube extension.


How to embed a youtube video <youtube>videoID</youtube>

Example:

This line of code:

<youtube>E8AoOi1RRUs</youtube>

embeds the video from this link (so copy every thing after"=")

https://www.youtube.com/watch?v=E8AoOi1RRUs



Slide Show

Slide shows are a great way to fit lots of images on a page in a small space. The extension used to create a slide show on this wiki is the JavascriptSlideshow extension.


Using Slide Show

The full capabilities of this extension are shown in detail on the extension's page on mediawiki.org but here are the basic functions and an example of a slide show.


Example:

These lines of code:

 <slideshow sequence="forward" transition="fade"  refresh="5000">
 <div>[[Image:NESI+2A.png|center|450px|NESI+]]</div>
 <div>[[Image:Six-sigma.jpg|center|450px|Six Sigma]]</div>
 <div>[[Image:MW.png|center|450px|Byrde on a Twigge]]</div>
 </slideshow>

Will result in:

NESI+
Six Sigma
Byrde on a Twigge

Check the JavascriptSlideshow page for information on changing the the transition speed, sequence, animation and other tricks.


Mediawiki's "Foreground"

This wiki uses the "Foreground" skin as apposed to the default mediawiki "Vector" skin. This skin, for the most part, only changes aesthetics such as the dropdown menus you may have noticed at the top of pages and the tab used to interact with a page.

However, Foreground has added the functionality of embedded tabs, more header and list varity, and grids to organize information on a page. Click the links for more detail and examples on each.