diff --git a/mediawiki/README.md b/mediawiki/README.md index 208e423..049af19 100644 --- a/mediawiki/README.md +++ b/mediawiki/README.md @@ -58,20 +58,79 @@ MediaWiki is one of the most famous wiki engines. It's best known for being used `docker-compose.yml` supports the following parameters. -| Parameter | Description | Default | -| --- | --- | --- | -| PORT | Port wiki is available on | 8004 | -| WG_SITENAME | Wiki name | My KB | -| WG_META_NAMESPACE | [Name](https://mediawiki.org/wiki/Manual:$wgMetaNamespace) used for the project namespace | My_KB | -| WG_PROTOCOL | Protocol which is used for accessing wiki (`http` and `https`) | `http` | -| WG_SERVER | [Domain or IP](https://mediawiki.org/wiki/Manual:$wgServer) of the wiki host | 127.0.0.1:8004 | -| WG_EMERGENCY_CONTACT | Wiki [admin email address](https://mediawiki.org/wiki/Manual:$wgEmergencyContact) | username@domain.com | -| WG_PASSWORD_SENDER | [Password reminder email address](https://mediawiki.org/wiki/Manual:$wgPasswordSender) | username@domain.com | -| WG_DB_NAME | [Database name](https://mediawiki.org/wiki/Manual:$wgDBname) | knowledge_base | -| ALLOW_ACCOUNT_CREATION | Allows users to create accounts (`true` and `false`) | `true` | -| ALLOW_ACCOUNT_EDITING | Allows users to edit their accounts (`true` and `false`) | `true` | -| ALLOW_ANONYMOUS_READING | Allows users to read wiki anonymously (`true` and `false`). If the parameter is `false`, wiki is **private** | `false` | -| ALLOW_ANONYMOUS_EDITING | Allows users to edit wiki anonymously (`true` and `false`) | `true` | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterDescriptionDefault
Basic
PORTPort wiki is available on8004
WG_SITENAMEWiki nameMy KB
WG_META_NAMESPACEName used for the project namespaceMy_KB
WG_PROTOCOLProtocol which is used for accessing wiki (`http` and `https`)`http`
WG_SERVERDomain or IP of the wiki host127.0.0.1:8004
WG_EMERGENCY_CONTACTWiki admin email addressusername@domain.com
WG_PASSWORD_SENDERPassword reminder email addressusername@domain.com
WG_DB_NAMEDatabase nameknowledge_base
Permissions
ALLOW_ACCOUNT_CREATIONAllows users to create accounts (`true` and `false`)`true`
ALLOW_ACCOUNT_EDITINGAllows users to edit their accounts (`true` and `false`)`true`
ALLOW_ANONYMOUS_READINGAllows users to read wiki anonymously (`true` and `false`). If the parameter is `false`, wiki is private`false`
ALLOW_ANONYMOUS_EDITINGAllows users to edit wiki anonymously (`true` and `false`)`true`
## How to create an administrator