Help:Contents

From Van Essen Lab

Jump to: navigation, search

Contents

About this Website

This website is implemented using [Media:http://www.mediawiki.org/wiki/MediaWiki MediaWiki].

Browsing this Website

Editing this Website

You must be logged in to edit this site. Use the wiki's sysop account only when necessary.

Editing a Page

  1. Login
  2. Go to the page that is to be edited.
  3. Click the Edit tab at the top of the page.
  4. Edit as desired.
  5. Press either the Save Page or Show Preview buttons. If preview is selected, you still need to press the Save Page button to save the page.

Creating a New Page

Namespaces

Namespaces allow the grouping of related pages. Use the namespaces when creating new pages.

The following namespaces are is use with this website

  • Caret
  • Lab
  • Sums

Example: The About page for the Caret Software is named Caret:About.

Method 1

  1. Edit an existing page that will link to the new page.
  2. Create a link to the new page.
  3. Save the page being edited.
  4. Click the newly created link.
  5. A message is displayed indicating that the page selected does not exist but that you can create it by entering text in the edit region.

Method 2

  1. Enter the name of the new page in the Search box.
  2. Press the Go button.
  3. A message is displayed indicating that there is not page by the specified name. Click the link to create the new page.

Converting HTML to Wiki Markup Text

Try one of these links


Link no longer working as of 21 March 2012.

  1. Go to [1] (no longer available).
  2. Enter the URL of the web page in "Fetch HTML from URL".
  3. Set Wiki Dialect to MediaWiki.
  4. Press the Convert HTML to wiki markup button.
  5. Copy the Wiki Markup Text into the Page Editor.

Adding Images

  1. Create a link to the image in the page being edited.
  2. Save the page being edited.
  3. Click the link to the image.
  4. Use the Upload button to select and upload the image file.

Image Links

If you would like to set up an image so that when the user clicks on the image, the user is directed to an external website:

  1. Place the image in "/146Gb/www/html/wiki_linked_files/images".
  2. Add a link similar to: <span class="plainlinks">[http://www.nitrc.org http://brainvis.wustl.edu/wiki_linked_files/images/NITRC_logo_Listed_Small.jpg]</span> .

Deleting a Page

You must be logged in using the wiki's sysop account.

  1. Login using the wiki's sysop account.
  2. Go the page that you want to delete.
  3. Click the Delete tab at the top of the page.
  4. Enter the reason for deleting the page and delete it.
  5. Log out of the wiki's sysop account.

Editing the Sidebar (Menus on Left Side of All Pages)

  1. Login using the wiki's sysop account.
  2. Go to the page MediaWiki:Sidebar
  3. Edit and Save Changes.
  4. Log out of the wiki's sysop account.

Changing the Van Essen Lab Image

This image is located at the top left corner of all pages.

  1. Create or modify an image so that its width and height are 128 by 128 and so it is in JPEG format.
  2. Name the image VE_Lab_Logo_Image.jpg.
  3. Login to brainvis as root.
  4. Place the image file in "/146Gb/www/html/wiki_linked_files/images".
  5. If you want to move the image file or change the name of the image file, the variable $wgLogo must be changed in the wiki's LocalSettings.php file.

Making External Links Open in a New Window

  1. It may be necessary to clear the browser's cache after making this change.
  2. In home directory of wiki installation, add "$wgAllowUserJs = true;" to LocalSettings.php
  3. Login using the wiki's sysop account.
  4. Go to page MediaWiki:Monobook.js
  5. Add the following code:

externalLinks = function() { if (!document.getElementsByTagName) { return; } var anchors = document.getElementsByTagName("a"); for (var i = 0; i < anchors.length; i++) { var anchor = anchors[i]; if (anchor.getAttribute("href") && anchor.getAttribute("rel") != null && (anchor.getAttribute("rel").indexOf("external") >= 0 || anchor.getAttribute("rel").indexOf("nofollow") >= 0) ) { anchor.target = "_blank"; } } } if (window.addEventListener) { window.addEventListener("load", externalLinks, false); } else if (window.attachEvent) { window.attachEvent("onload", externalLinks); }

Hiding Main_Page Heading on the Main Page

  1. It may be necessary to clear the browser's cache after making this change.
  2. In home directory of wiki installation, add "$wgAllowUserJs = true;" to LocalSettings.php
  3. Login using the wiki's sysop account.
  4. Go to page MediaWiki:Monobook.js
  5. Add the following code

var mpTitle = "Main Page"; var isMainPage = (document.title.substr(0, document.title.lastIndexOf(" - ")) == mpTitle); var isDiff = (document.location.search && (document.location.search.indexOf("diff=") != -1 || document.location.search.indexOf("oldid=") != -1));

if (isMainPage && !isDiff) { document.write('<style type="text/css">/*<![CDATA[*/ #siteSub, #contentSub, h1.firstHeading { display: none !important; } /*]]>*/</style>'); }

Personal tools