summaryrefslogtreecommitdiff
path: root/LocalSettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'LocalSettings.php')
-rw-r--r--LocalSettings.php63
1 files changed, 52 insertions, 11 deletions
diff --git a/LocalSettings.php b/LocalSettings.php
index 5bcf48b..a42865d 100644
--- a/LocalSettings.php
+++ b/LocalSettings.php
@@ -42,9 +42,12 @@ $wgRedirectOnLogin = 'Special:MyPage';
## Permisos
// $wgEmailConfirmToEdit = true;
// $wgGroupPermissions['*']['edit'] = false;
+$wgGroupPermissions['*']['edit'] = false;
// $wgGroupPermissions['*']['createpage'] = true;
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['user']['upload_by_url'] = true;
+$wgGroupPermissions['*']['createaccount'] = true;
+
## Email
@@ -113,6 +116,31 @@ $wgContentNamespaces[] = NS_ENDORSER;
$smwgNamespacesWithSemanticLinks[NS_ENDORSER] = true;
$wgNamespacesWithSubpages[NS_ENDORSER] = true;
+define("NS_CASE", 3006); // Este número DEBE ser par.
+define("NS_CASE_TALK", 3007); // Éste DEBE ser el siguiente entero impar.
+$wgExtraNamespaces[NS_CASE] = "Case";
+$wgExtraNamespaces[NS_CASE_TALK] = "Case_talk";
+$wgContentNamespaces[] = NS_CASE;
+$smwgNamespacesWithSemanticLinks[NS_CASE] = true;
+$wgNamespacesWithSubpages[NS_CASE] = true;
+
+define("NS_REPORT", 3008); // Este número DEBE ser par.
+define("NS_REPORT_TALK", 3009); // Éste DEBE ser el siguiente entero impar.
+$wgExtraNamespaces[NS_REPORT] = "Report";
+$wgExtraNamespaces[NS_REPORT_TALK] = "Report_talk";
+$wgContentNamespaces[] = NS_REPORT;
+$smwgNamespacesWithSemanticLinks[NS_REPORT] = true;
+$wgNamespacesWithSubpages[NS_REPORT] = true;
+
+define("NS_WEBINAR", 3010); // Este número DEBE ser par.
+define("NS_WEBINAR_TALK", 3011); // Éste DEBE ser el siguiente entero impar.
+$wgExtraNamespaces[NS_WEBINAR] = "Webinar";
+$wgExtraNamespaces[NS_WEBINAR_TALK] = "Webinar_talk";
+$wgContentNamespaces[] = NS_WEBINAR;
+$smwgNamespacesWithSemanticLinks[NS_WEBINAR] = true;
+$wgNamespacesWithSubpages[NS_WEBINAR] = true;
+
+
// define("NS_REVISAR", 3006); // Este número DEBE ser par.
// define("NS_REVISAR_TALK", 3007); // Éste DEBE ser el siguiente entero impar.
// $wgExtraNamespaces[NS_REVISAR] = "Revisar";
@@ -137,6 +165,7 @@ $wgNamespacesWithSubpages[NS_ENDORSER] = true;
// $wgNamespaceProtection[NS_EVENTO] =
// $wgNamespaceProtection[NS_PRENSA] = array( 'autoconfirmed' );
+$wgNamespaceProtection[NS_WEBINAR] = $wgNamespaceProtection[NS_CASE] = $wgNamespaceProtection[NS_REPORT] =
$wgNamespaceProtection[NS_ENDORSER] = array( 'autoconfirmed' );
// $wgGroupPermissions['*']['revisar-edit'] = true;
@@ -145,16 +174,21 @@ $wgNamespaceProtection[NS_ENDORSER] = array( 'autoconfirmed' );
$wgNamespacesToBeSearchedDefault = [
// NS_MAIN => true,
// NS_CATEGORY => true,
- // NS_USER => true,
- NS_ENDORSER => true
- // NS_PRENSA => true,
+ NS_REPORT => true,
+ NS_ENDORSER => true,
+ NS_CASE => true,
+ NS_WEBINAR => true
// NS_AUDIOVISUAL => true,
// NS_EVENTO => true
];
$wgNamespaceAliases = array(
// 'U' => NS_USER,
+ 'C' => NS_CASE,
+ 'R' => NS_REPORT,
'E' => NS_ENDORSER,
+ 'W' => NS_WEBINAR
+
// 'P' => NS_PRENSA,
// 'A' => NS_AUDIOVISUAL,
// 'V' => NS_EVENTO
@@ -217,6 +251,7 @@ enableSemantics( $REEVO_URL );
wfLoadExtension( 'SemanticResultFormats' );
wfLoadExtension( 'SemanticFormsSelect' );
$smwgQMaxInlineLimit = 2000;
+// wfLoadExtension( 'SemanticCompoundQueries' );
## ModernTimeline
wfLoadExtension( 'ModernTimeline' );
@@ -315,12 +350,12 @@ $wgEnableMetaDescriptionFunctions = true;
## HideNamespace
require_once "$IP/extensions/HideNamespace/HideNamespace.php";
$wgHidensNamespaces = array(
- // NS_PRENSA,
- // NS_AUDIOVISUAL,
+ NS_REPORT,
NS_CATEGORY,
NS_ENDORSER,
- // NS_EVENTO,
- // NS_REVISAR,
+ NS_CASE,
+ NS_WEBINAR,
+
);
## CSS
@@ -379,19 +414,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?' => [ 'Crianza Mutua' ], // 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?' => [ 'Crianza Mutua' ], // 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?' => [ 'Crianza Mutua' ], // 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
]
];
@@ -410,7 +442,7 @@ require_once( "$IP/extensions/HideEmptySections/HideEmptySections.php" );
## NewUserNotif
require_once "$IP/extensions/NewUserNotif/NewUserNotif.php";
$wgNewUserNotifEmailTargets = array(
- 'info2019@reevo.org'
+ 'webmaster@globaltapestryofalternatives.org'
);
## ContactPage
@@ -456,4 +488,13 @@ wfLoadExtension( 'CategoryTree' );
## CountryStates
wfLoadExtension( 'CountryStates' );
+
$wgShowExceptionDetails = true;
+$wgCookieSecure = false;
+
+$smwgQMaxDepth = 1000;
+$smwgQMaxSize = 1000;
+
+
+
+ini_set('memory_limit', '1024M');