MediaWiki: Difference between revisions
No edit summary |
|||
Line 30: | Line 30: | ||
<li> Import the file.</li> | <li> Import the file.</li> | ||
</ol> | </ol> | ||
==Restricting Access== | |||
The best way to restrict access is to create a separate wiki.<br> | |||
However, there are extensions to do page-level and user-level restrictions.<br> | |||
See [https://www.mediawiki.org/wiki/Category:Page_specific_user_rights_extensions Mediawiki:Category:Page_specific_user_rights_extensions]<br> | |||
One such extension is [http://wiki.4intra.net/IntraACL IntraACL]. |
Revision as of 15:08, 5 February 2020
Syntax
Below are how to typeset and format things in Mediawiki properly
Code
Inline code can by represented with <code></code>
Code blocks should be like:
<syntaxhighlight lang="cpp"> // ... my code here </syntaxhighlight>
Math
Math is written in standard latex syntax inside of <math></math>.
- Beware: Do not use
||
, use\Vert
instead.
Advanced
Importing Templates From Wikipedia
- Go to Wikipedia's Special:Export
- Type in the templates you want. E.g.
- Check include templates and download the file
- Go to your wiki's Special:Import
- Import the file.
Template:Key press Template:Key press/doc
Restricting Access
The best way to restrict access is to create a separate wiki.
However, there are extensions to do page-level and user-level restrictions.
See Mediawiki:Category:Page_specific_user_rights_extensions
One such extension is IntraACL.