forked from coop-cloud/mediawiki
enable registration
This commit is contained in:
parent
0fb7f2bd7f
commit
08d7201772
@ -17,6 +17,7 @@ MEDIAWIKI_LOGO_FILE='$wgResourceBasePath/resources/assets/wiki.png'
|
|||||||
MEDIAWIKI_LANGUAGE="en"
|
MEDIAWIKI_LANGUAGE="en"
|
||||||
|
|
||||||
MEDIAWIKI_IS_PRIVATE=1
|
MEDIAWIKI_IS_PRIVATE=1
|
||||||
|
MEDIAWIKI_ALLOW_REGISTRATION=0
|
||||||
|
|
||||||
MEDIAWIKI_DEBUG=0
|
MEDIAWIKI_DEBUG=0
|
||||||
|
|
||||||
|
@ -106,8 +106,13 @@ $wgRightsIcon = "";
|
|||||||
# Path to the GNU diff3 utility. Used for conflict resolution.
|
# Path to the GNU diff3 utility. Used for conflict resolution.
|
||||||
$wgDiff3 = "/usr/bin/diff3";
|
$wgDiff3 = "/usr/bin/diff3";
|
||||||
|
|
||||||
# The following permissions were set based on your choice in the installer
|
{{ if eq (env "MEDIAWIKI_ALLOW_REGISTRATION") "1" }}
|
||||||
|
$wgGroupPermissions['*']['createaccount'] = true;
|
||||||
|
$wgEmailConfirmToEdit = true;
|
||||||
|
{{ else }}
|
||||||
$wgGroupPermissions['*']['createaccount'] = false;
|
$wgGroupPermissions['*']['createaccount'] = false;
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
$wgGroupPermissions['*']['edit'] = false;
|
$wgGroupPermissions['*']['edit'] = false;
|
||||||
{{ if eq (env "MEDIAWIKI_IS_PRIVATE") "1" }}
|
{{ if eq (env "MEDIAWIKI_IS_PRIVATE") "1" }}
|
||||||
$wgGroupPermissions['*']['read'] = false;
|
$wgGroupPermissions['*']['read'] = false;
|
||||||
|
2
abra.sh
2
abra.sh
@ -1,4 +1,4 @@
|
|||||||
export LOCAL_SETTINGS_CONF_VERSION=v21
|
export LOCAL_SETTINGS_CONF_VERSION=v22
|
||||||
export HTACCESS_CONF_VERSION=v1
|
export HTACCESS_CONF_VERSION=v1
|
||||||
export ENTRYPOINT_CONF_VERSION=v19
|
export ENTRYPOINT_CONF_VERSION=v19
|
||||||
export COMPOSER_LOCAL_CONF_VERSION=v5
|
export COMPOSER_LOCAL_CONF_VERSION=v5
|
||||||
|
Loading…
Reference in New Issue
Block a user