Difference between revisions of "Instructions to Wiki Editors"

Jump to navigation Jump to search
→‎Extensions: Add GoogleDocs4MW in the list of extensions
(→‎SyntaxHighlight: Update information about extension)
(→‎Extensions: Add GoogleDocs4MW in the list of extensions)
(One intermediate revision by the same user not shown)
Line 73: Line 73:
</pre>
</pre>


== MathJax ==
== SimpleMathJax ==
This extension can be used to generate formulas using the LaTeX math syntax. It replaces MediaWiki's regular TeX based math support (that we cannot use due to server limitations) and the old jsMath extension. It uses the same syntax as both of these, which is [http://meta.wikimedia.org/wiki/Help:Formula described here].
This extension can be used to generate formulas using the LaTeX math syntax. It replaces MediaWiki's regular TeX based math support (that we cannot use due to server limitations) and the old jsMath and MathJax extensions. It uses the same syntax as all of these, which is [http://meta.wikimedia.org/wiki/Help:Formula described here].
 
For inline equation use <code>\(...\)</code> and  for display style math use instead  <code>&lt;math&gt;...&lt;/math&gt;</code>.


The following math environments are defined for inline style math:
* <code>\(...\)</code> and
* <code>&lt;math&gt;...&lt;/math&gt;</code>.
And the following math environments are defined for display style math:
* <code>\[...\]</code>,
* <code>\begin{...}...\end{...}</code> and
* <code>:&lt;math&gt;...&lt;/math&gt;</code>.
MathJax produces nice and scalable mathematics, see their website (http://www.mathjax.org/) for a demonstration.  
MathJax produces nice and scalable mathematics, see their website (http://www.mathjax.org/) for a demonstration.  
This extension also enables the usage of <code>\label{}</code> and <code><nowiki>\eqref{}</nowiki></code> tags with automatic formula numbering.


'''Link:''' http://www.mediawiki.org/wiki/Extension:MathJax
'''Link:''' https://www.mediawiki.org/wiki/Extension:SimpleMathJax


'''Syntax:'''
'''Syntax:'''
Line 101: Line 95:
Skewness(X) = \frac{N}{(N-1)*(N-2)*\sigma(X)^3} * \sum_{i=1}^{N}{(X_i - E(X))^3}
Skewness(X) = \frac{N}{(N-1)*(N-2)*\sigma(X)^3} * \sum_{i=1}^{N}{(X_i - E(X))^3}
</math>
</math>
== GoogleDocs4MW ==
This extension can be used to embed Google spreadsheet into a wiki page.
'''Link:''' https://www.mediawiki.org/wiki/Extension:GoogleDocs4MW
'''Syntax:'''
<pre>
<googlespreadsheet width="600" height="200" style="width: 50%">Google Docs' key goes here</googlespreadsheet>
</pre>
'''Note:''' To actually embed a spreadsheet, the spreadsheet needs to be published with Google's ''File > Publish to Web...'' option. It is not sufficient to just have a shareable link.


== Cite ==
== Cite ==
TrustedUser
2,147

edits

Navigation menu