BCM:Wiki configuration: Difference between revisions

($wgEnableScaryTransclusion = true; and its utility)
Tag: New redirect
 
Line 1: Line 1:
= Wiki configuration =
#REDIRECT [[BCM:About#Wiki configuration]]
 
The Ban Covert Modeling! wiki at https://wiki.ban-covert-modeling.org/wiki/ has the following configuration:
 
== reCAPTCHA settings ==
=== reCAPTCHA settings for the server ===
<pre>
$wgGroupPermissions['*'            ]['skipcaptcha'] = false;
$wgGroupPermissions['user'        ]['skipcaptcha'] = false;
$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
$wgGroupPermissions['bot'          ]['skipcaptcha'] = true; // registered bots
$wgGroupPermissions['sysop'        ]['skipcaptcha'] = true;
 
$wgCaptchaTriggers['edit']          = true;
$wgCaptchaTriggers['create']        = true;
$wgCaptchaTriggers['addurl']        = true;
$wgCaptchaTriggers['createaccount'] = true;
$wgCaptchaTriggers['badlogin']      = true;
 
</pre>
 
 
=== reCAPTCHA settings explained for humans ===
In human readable terms the reCAPTCHA settings are as follows:
 
# Anonymous users have to pass the captcha always
# Non-autoconfirmed users have to pass the captcha always
# Autoconfirmed users do not have to pass the CAPTCHA (See [[#Autopromotion settings explained for humans]] to figure out when you will be autoconfirmed)
 
----
 
== Autopromotion settings ==
=== Autopromotion settings for the server ===
<pre>
$wgAutopromote = array(
        'autoconfirmed' => array(
                '&',
                APCOND_EMAILCONFIRMED,
                array( APCOND_EDITCOUNT, 7 ),
                array( APCOND_AGE, 60*60 ),
        ),
);
</pre>
 
=== Autopromotion settings explained for humans ===
In human readable terms:
# Users will be automatically promoted to autoconfirmed when '''all three''' conditions are met
## They have '''confirmed their email address''' by clicking on the confirmation link in the email sent by the system when registering an account
## They have made '''7 edits'''
## Their account has existed for '''at least one hour'''
 
These values may need to be adjusted in the future. The goal of these settings is to
# Avoid spamming, vandals etc.
# To give genuine contributors ability to edit without needing to solve CAPTCHAs reasonably quickly
 
----
 
== Email settings ==
# <pre>$wgEnableEmail = true;</pre> Email is enabled. See [[mw:Manual:$wgEnableEmail]] for more info.
# <pre>$wgEnableUserEmail = true;</pre> Emailing users with <nowiki>[[Special:EmailUser/Username]]</nowiki> is enabled if the user has verified his/her email address and has not disabled receiving mail via wiki. See [[mw:Manual:$wgEnableUserEmail]] for more info.
# <pre>$wgEnotifUserTalk = true;</pre> Emailing notices about someone else having edited your talk page are enabled. See [[mw:Manual:$wgEnotifUserTalk]] for more info
# <pre>$wgEnotifWatchlist = true;</pre> Email notices about someone editing a page on your [[Special:Watchlist]] are enabled. See [[mw:Manual:$wgEnotifWatchlist]] for more info.
# <pre>$wgEmailAuthentication = true;</pre> Requirement to verify your email address is enabled. Without having a verified email address of the email functions only the sending new password via email will work. Also not verifying email address stops a user from being autopromoted to autoconfirmed-status. See [[mw:Manual:$wgEmailAuthentication]] for more info.
 
Email coming from this wiki is sent by ''s e r v i c e s (at) ban-covert-modeling.org'' and will show in the envelope that it is delivered by a mail server of Gandi.net.
 
== Scary Transclusion ==
<code>$wgEnableScaryTransclusion = true;</code> is enabled and [[Special:Interwiki]] adjusted so that pages with the interwiki prefix 'wikipedia:' can be transcluded by writing <nowiki>{{wikipedia::Article name}}</nowiki>