Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First of all if you have MediaWiki version lower than 1.18 then open file includes/Math.php and find (this code for version 1.16):</p> <pre><code>escapeshellarg( $wgTmpDirectory ).' '; escapeshellarg( $this-&gt;tex ).' '; </code></pre> <p>and replace with:</p> <pre><code>escapeshellarg( $wgTmpDirectory ).' '; setlocale(LC_CTYPE, "en_US.utf8"); $cmd .= escapeshellarg( $this-&gt;tex ).' '; setlocale(LC_ALL, "C"); $cmd .= </code></pre> <p>this needed because <code>escapeshellarg</code> <a href="https://bugs.php.net/bug.php?id=44945" rel="nofollow">cut UTF8 symbols</a>. If you see in that place function <code>wfEscapeShellArg</code> instead of <code>escapeshellarg</code> then you need to set <a href="https://www.mediawiki.org/wiki/Manual%3a%24wgShellLocale" rel="nofollow"><code>$wgShellLocale</code></a> to <code>en_US.utf8</code>.</p> <p>Second, download latest <a href="https://www.mediawiki.org/wiki/Extension%3aMath" rel="nofollow">Math extension</a> and extract <code>math</code> folder. Open file <code>texutil.ml</code> and find line:</p> <pre><code>"\\usepackage{cancel}\n\\pagestyle{empty}\n\\begin{document}\n$$\n" </code></pre> <p>add your alphabet:</p> <p><code>"\\usepackage[russian]{babel}\n\\usepackage{cancel}\n\\pagestyle{empty}\n\\begin{document}\n$$\n"</code></p> <p>Delete all files from your current <code>math</code> folder and upload files from extension. Open console, <code>cd</code> to <code>math</code> folder and do <code>make</code>:</p> <pre><code>$ aptitude install ocaml /* install ocaml if needed */ $ make </code></pre> <p>Also add to <code>LocalSettings.php</code> (change folder to yours):</p> <p><code>putenv('HOME=/home/user');</code></p> <p>Now new alphabet should work. <code>;)</code></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload