Help:Contents

From WekaWiki

Table of contents

Starting new Article

Before you start with a new article, check out what categories are already in existence. Searching for related material is sometimes easier by just browsing in the same category, e.g. HOWTOs. You can check out the Categories here. If you can't find a suitable category, that doesn't matter, they're created dynamically, you don't have to create them beforehand.

If you want to start a page that has so far no relation to any other existing one, you just search for the title of the non-existing page.

On the search results page a link to edit this new page will be shown automatically.
BUT be careful of misspellings and such that you don't add the same content twice.

How to markup your inserted text, you can find here.

You can add the category Basics to your article, by appending the following to your article:

[[Category:Basics]]

If the category didn't exist beforehand, it will be highlighted in red, like with any other missing page in the Wiki. After you saved your article, click on the category and enter a short description and a short instruction how to add this to an article. For an example, check out this category: [1] (http://weka.sourceforge.net/wiki/index.php/Category:HOWTO)

If the article belongs to several categories, just add the additional tags at the end of you article.

Links

Here's an example of an internal link:

[[Datasets]] displayed as Datasets


An internal link with a different display text:

[[Datasets|Whatever link is behind this text...]] displayed as Whatever link is behind this text...


And here an external one:

[http://www.waikato.ac.nz Uni] displayed as Uni (http://www.waikato.ac.nz)

Uploading files

How to upload a file can be found at Upload under the Special pages (the toolbox menu on the left side).

After you've uploaded a file, e.g., MyFile.java, you can link to it like this:

[[Media:MyFile.java]]

In order to make the link look nicer, you should provide an alternative text after the "|":

[[Media:MyFile.java|MyFile.java]]

Images

An extensive overview of what you can do with uploaded images can be found here.

Mathematical Formulas

Currently not supported - problems running texvc on Sourceforge...

Tables

Tables can be either insert in HTML notation or in Wiki notation. Here's a rough overview and a few examples. For further information, please check out the MediaWiki help page (http://wiki.mozilla.org/wiki/Help:Table).


Comparison between HTML and Wiki notation:

HTML Wiki
<table parameters> {| parameters
</table> |}
<tr> |-
<td> cell </td> | cell
<td> cell1 </td> <td> cell2 </td> <td> cell3 </td> | cell1 || cell2 || cell3


And now a complete example of a table:

HTML Wiki
Code
<table border="1" cellspacing="0" cellpadding="10">
   <tr>
      <th>Title 1</td>
      <th>Title 2</td>
   </tr>
   <tr>
      <td>1</td>
      <td>2</td>
   </tr>
   <tr>
      <td>3</td>
      <td>4</td>
   </tr>
</table>
{| border="1" cellspacing="0" cellpadding="10" 
! Title 1 !! Title 2 
|- 
| 1 || 2 
|- 
| 3 || 4 
|}
Result
Title 1 Title 2
1 2
3 4
Title 1 Title 2
1 2
3 4

HTML

HTML (http://www.w3.org/TR/html4/) can be inserted, but make sure that it's XHTML (http://www.w3.org/TR/xhtml1/). Still, native Wiki code is preferred.

So, what is XHTML? All tags must have an ending tag (e.g., <li> and </li>) or be an empty tag (e.g., <br/> and <p/>)