Difference between revisions of "MediaWiki"

From BarikWiki
Jump to: navigation, search
(Syntax Highlighting)
(Math)
Line 13: Line 13:
 
== Math ==
 
== Math ==
  
This requires the [http://caml.inria.fr/ OCaml] port <tt>lang/ocaml-nox11</tt>. Then [http://www.mediawiki.org/wiki/Manual:Enable_TeX Enable TeX]. Note that on FreeBSD you should use <tt>gmake</tt> instead of <tt>make</tt> to compile.
+
This requires the [http://caml.inria.fr/ OCaml] port <code>lang/ocaml-nox11</code>. Then [http://www.mediawiki.org/wiki/Manual:Enable_TeX Enable TeX]. Note that on FreeBSD you should use <code>gmake</code> instead of <code>make</code> to compile.

Revision as of 13:09, 3 June 2011

See which extensions Wikipedia has installed. Also see the manual of Running MediaWiki on FreeBSD.

The default administrator name is WikiSysop (the password for this is actually requested during installation, but I have no idea where this is actually documented in the MediaWiki manual).

Syntax Highlighting

Extensions support in MediaWiki is buggy and sorely lacking.

Syntax highlighting is performed through the SyntaxHighlight GeSHi extension. I had to use Method 2, manual downloading, since the already bundled method was non-functional. This extension uses the Generic Syntax Highlighter.

Edit MediaWiki:Geshi.css. You will get a Protected Interface issue if you don't login as an Administrator (Barik is not).

Math

This requires the OCaml port lang/ocaml-nox11. Then Enable TeX. Note that on FreeBSD you should use gmake instead of make to compile.