Arbores MediaWiki installation: Difference between revisions
(Created page with "== Introduction == this page includes installation notes for this wiki. == Change permission == By default, anyone can create an account and contribute. To change: $wgGr...") |
No edit summary |
||
Line 6: | Line 6: | ||
By default, anyone can create an account and contribute. To change: | By default, anyone can create an account and contribute. To change: | ||
$wgGroupPermissions['*']['createaccount'] = false; | |||
$wgGroupPermissions['*']['read'] = true; | $wgGroupPermissions['*']['read'] = true; | ||
$wgGroupPermissions['*']['edit'] = false; | $wgGroupPermissions['*']['edit'] = false; | ||
Line 34: | Line 34: | ||
An installed wiki comes with preinstalled extensions that you can enable. However, some of these do not work on shared hosting, e.g. | An installed wiki comes with preinstalled extensions that you can enable. However, some of these do not work on shared hosting, e.g. | ||
* Visual editor requires a node.js server | * Visual editor requires a node.js server | ||
* SyntaxHighlight requires shell access | |||
Others require a change in server configuration, e.g. | |||
* SyntaxHighlight requires shell access | |||
<syntaxhighlight> | |||
</syntaxhighlight> |
Revision as of 15:47, 1 April 2021
Introduction
this page includes installation notes for this wiki.
Change permission
By default, anyone can create an account and contribute. To change:
$wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['move'] = false; $wgGroupPermissions['*']['createtalk'] = false; $wgGroupPermissions['*']['upload'] = false; $wgGroupPermissions['*']['reupload'] = false; $wgGroupPermissions['*']['reupload-shared'] = false; $wgGroupPermissions['*']['minoredit'] = false;
$wgGroupPermissions['sysop' ]['move'] = true; $wgGroupPermissions['sysop' ]['read'] = true; $wgGroupPermissions['sysop' ]['edit'] = true; $wgGroupPermissions['sysop' ]['createpage'] = true; $wgGroupPermissions['sysop' ]['createtalk'] = true; $wgGroupPermissions['sysop' ]['upload'] = true; $wgGroupPermissions['sysop' ]['reupload'] = true; $wgGroupPermissions['sysop' ]['reupload-shared'] = true; $wgGroupPermissions['sysop' ]['minoredit'] = true; $wgGroupPermissions['sysop' ]['userrights'] = true; $wgGroupPermissions['sysop' ]['noratelimit'] = true;
Builtin extension
An installed wiki comes with preinstalled extensions that you can enable. However, some of these do not work on shared hosting, e.g.
- Visual editor requires a node.js server
Others require a change in server configuration, e.g.
- SyntaxHighlight requires shell access