# Help!

New wiki pages should be stored in the appropriate namespace. For example, a new hydrodynamics test called newtest can be created using the following address:

http://www.astrosim.net/code/doku.php?id=home:codetest:hydrotest:newtest

The above page does not exist yet. Click on create new page to create the page. You will then be able to start editing. If the page is a new code test, it will automatically start you off with the code test template (see below).

It is important to ensure that your new page is indexed in the right place in the sidebar. Please check. The newtest above, for example, will appear inside the folder hydrotest inside codetest. If your new page is in the wrong place, you can remove it by deleting all content within it. You may then start again as above. Note: pages are listed alphabetically ordered by their name (i.e. newtest will appear before ztest and after atest). They are listed in the sidebar index by their page title (the first heading that appears on the page). They are not ordered alphabetically by page title. If you want to change the order, you must choose a different page name.

NOTE: It can take some time (~5-10mins) for the new page to appear properly listed in the menu on the left. Please be patient.

http://www.astrosim.net/code/doku.php?id=home:codetest:hydrotest:newfolder:newtest

Will create the test newtest inside the folder newfolder. Note: tests inside new folders will not automatically start with the code test template. In this case the template must be pasted in.

### Code test template

We would like as much as possible to keep code tests in a standardised format. This ensures that all the relevant information is included, while making it easier for the reader to navigate the site. For this reason, we encourage new tests to use this template. The template will be applied automatically to new tests (if not in a new folder) when you click on create this page. If you do not wish to use the template, simply delete it and add your content instead.

The following code:

<latex>
\frac{3}{4 \pi}   \sqrt{4 \cdot x^2 }\\
\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2} = \frac{\pi^2}{6}\\
\it{f}(x) = \frac{1}{\sqrt{x} x^2}\\
e^{i \pi} + 1 = 0}\;
</latex>

Produces this:

To upload a picture/movie/simulation file, click on the “Add images and other files” button while editing a page. It looks like this: . This should then open the “media manager”. Drag and drop the file(s) you wish to upload to the media manager window and then click on “upload”. Please be patient. There is no status bar so you must simply wait for the green tick to appear at the top of the window saying “upload successful”. To include the file on your current wiki page, just click on the filename (this applies to files already uploaded too).

BUG REPORT: the latest dokuwiki release says “upload failed” when in fact it works fine. Just continue as if it worked. Hopefully this will be fixed soon. JR 03/06/12

### Supported file formats

Supported file formats
jpeg/jpg image/jpeg
gif image/gif
png image/png
tgz application/octet-stream
tar application/x-gtar
gz application/octet-stream
bz2 application/octet-stream
zip application/zip
rar application/rar
pdf application/pdf
ps application/postscript
doc application/msword
xls application/msexcel
ppt application/mspowerpoint
rtf application/msword
swf application/x-shockwave-flash
rpm application/octet-stream
deb application/octet-stream
sxw application/soffice
sxc application/soffice
sxi application/soffice
sxd application/soffice
odc application/vnd.oasis.opendocument.chart
odf application/vnd.oasis.opendocument.formula
odg application/vnd.oasis.opendocument.graphics
odi application/vnd.oasis.opendocument.image
odp application/vnd.oasis.opendocument.presentation
odt application/vnd.oasis.opendocument.text
txt ascii text file
tex TeX file
ltx LaTeX file
c C software
f Fortran software
o object file
pro IDL program
py Python program
std Tipsy data file
bin Binary data file
mov Quicktime movie
divx DivX movie
avi Avi movie
mpeg/mpg Mpeg movie

## Polling users

This is a feature that allows you to poll users to see what they think of something. This first option allows one vote per user. Users need to be logged in to vote and they can change their mind. The following code:

<userpoll How do you like this new site?>
* awesome
* great
* good
* fantastic
</userpoll>

produces this:

How do you like this new site?

This second option allows anyone to vote (logged in or not). One vote per IP address. No changes:

<poll How do you like this new site?>
* awesome
* great
* good
* fantastic
</poll>
How do you like this new site?