summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2021-11-17 12:48:24 +0000
committerYaco <franco@reevo.org>2021-11-17 12:48:24 +0000
commit9c788eec82c436181556ec62f6e21002443fd3c4 (patch)
tree00c59061183599a72f183e8de59ac3ad7729df93
parent7677e62413cfa81c077ec05a5ddbdb4008c4f828 (diff)
new configurations
-rw-r--r--LocalSettings.php11
-rw-r--r--style.less4
2 files changed, 8 insertions, 7 deletions
diff --git a/LocalSettings.php b/LocalSettings.php
index 899ed34..7bde513 100644
--- a/LocalSettings.php
+++ b/LocalSettings.php
@@ -37,8 +37,8 @@ $wgDBmysql5 = false;
## Registro y perfil de usuarios
$wgHiddenPrefs[] = 'realname';
$wgHiddenPrefs[] = 'genre';
-$wgGroupPermissions['*']['createaccount'] = false;
-$wgRedirectOnLogin = 'Special:MyPage';
+$wgGroupPermissions['*']['createaccount'] = True;
+$wgRedirectOnLogin = 'Index';
## Permisos
// $wgEmailConfirmToEdit = true;
@@ -386,19 +386,16 @@ $wgCaptchaQuestions = [
"es" => [
'¿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 esta página?' => [ 'Ecoversities Source' ], // 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
],
"en" => [
'What is the name of the Capital of France?' => 'Paris',
'Buenos Aires is the capital city of...' => 'Argentina', // Answers are case insensitive
- 'What is the name of this website?' => [ 'Ecoversities Source' ], // A question may have many answers
'What is the name of the natural satellite of the Earth' => [ 'Moon', 'The Moon' ], // A question may have many answers
],
"pt" => [
'Qual é o nome da capital da França?' => 'Paris',
'De que país é a capital Buenos Aires?' => 'Argentina', // Answers are case insensitive
- 'Qual é o nome desta página da web?' => [ 'Ecoversities Source' ], // A question may have many answers
'Qual é o nome do único satélite natural na Terra?' => [ 'Lua', 'La lua' ], // A question may have many answers
]
];
@@ -447,8 +444,8 @@ $wgCaptchaTriggers['contactpage'] = true;
$wgHooks['EmailUser'][] = function ( &$address, &$from, &$subject, &$text, &$error ) {
global $wgPasswordSender;
- $subject = '[reevo.wiki] Contacto: ' . $subject;
- $address->address = 'info2019@reevo.org';
+ $subject = '[Ecoversities Source] Contact: ' . $subject;
+ $address->address = 'source@ecoversities.org';
# $from->address = $wgPasswordSender;
};
diff --git a/style.less b/style.less
index 705db87..bf14b76 100644
--- a/style.less
+++ b/style.less
@@ -1,5 +1,6 @@
@font-family-sans-serif: "Source Sans Pro","Open Sans", Calibri, Candara, Arial, sans-serif;
+
nav#mw-navigation {
background-color: #2c3a15;
box-shadow: 0 2px 8px #000000;
@@ -82,6 +83,9 @@ section#home-header {
font-weight: 200;
}
+.mw-indicator-mw-helplink {display: none;}
+
+
// **************** Map elements
// We change the color of the marker using filter. The base color must be black. Color generator: https://codepen.io/sosuke/pen/Pjoqqp