MediaWiki

From mmmv_kos
Jump to: navigation, search

Some pages of interest

HowTo-s

<syntaxhighlight lang="php">
<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;         // end of php code
?>
</syntaxhighlight>



Hwo to add References

The code:

According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>

The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>

==== Crazy List of References ====

<references />

generates:

According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>

The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>

Crazy List of References

<references />


Linking

direct link to a file in the wiki

[{{filepath:Www_cl_carn_ac_uk_teaching_0910_R08_work_essay-at443-steganography.pdf}} direct link to a file in the wiki]


Some Demos

$$\begin{equation} x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } } + \int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x \end{equation}$$

can be written as:

$$\begin{equation} 
    x = a_0 + 
        \cfrac{1}{a_1 + 
            \cfrac{1}{a_2 + 
                \cfrac{1}{a_3 + 
                    \cfrac{1}{a_4} 
                } 
            } 
        } + 
        \int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x
\end{equation}$$


The way to write $this_starts_with_a_dollar_sign_and_has_underscores:

<code>$this_starts_with_a_dollar_sign_and_has_underscores</code>

The idea is that supposedly the MathJax does not parse the content of the code tags.