summaryrefslogtreecommitdiff
path: root/www/wiki/LocalSettings.Reevo.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/LocalSettings.Reevo.php')
-rw-r--r--www/wiki/LocalSettings.Reevo.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/www/wiki/LocalSettings.Reevo.php b/www/wiki/LocalSettings.Reevo.php
index 063f0fe7..42cf10b7 100644
--- a/www/wiki/LocalSettings.Reevo.php
+++ b/www/wiki/LocalSettings.Reevo.php
@@ -288,7 +288,6 @@ $wgUploadWizardConfig = array(
);
## MsUpload
-
wfLoadExtension( 'MsUpload' );
$wgMSU_useDragDrop = true; // Should the drag & drop area be shown? (Not set by default)
$wgMSU_showAutoCat = true; // Files uploaded while editing a category page will be added to that category
@@ -297,6 +296,26 @@ $wgMSU_useMsLinks = true; // Insert links in Extension:MsLinks style?
$wgMSU_confirmReplace = true; // Show the "Replace file?" checkbox
$wgMSU_imgParams = 'thumb|none'; // Any image parameter separated by a semicolon. Examples are: {width}px, left, right, center, none, border, frameless, frame, thumb etc etc
+## ConfirmEdit - ANTISPAM!
+wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]);
+
+$wgCaptchaQuestions = [
+ '¿Cuál es la Capital de Francia?' => 'Paris',
+ '¿De qué país es la capital Buenos Aires?' => 'Argentina', // Answers are case insensitive
+ '¿Cuál es el nombre de pila de Montessori?' => [ 'María', 'Maria' ], // A question may have many answers
+ '¿Cuál es el nombre de esta página?' => [ 'REEVO' ], // A question may have many answers
+ '¿Cuál es el nombre del único satélite natural de la Tierra?' => [ 'Luna', 'La Luna' ], // A question may have many answers
+];
+
+$wgMainCacheType = CACHE_ANYTHING;
+// $wgCaptchaTriggers['edit'] = true;
+// $wgCaptchaTriggers['create'] = true;
+// $wgCaptchaTriggers['createtalk'] = true;
+// $wgCaptchaTriggers['addurl'] = true;
+$wgCaptchaTriggers['createaccount'] = true;
+$wgCaptchaTriggers['badlogin'] = true;
+
+
###### Extensiones propias
## ImportarPerfil