summaryrefslogtreecommitdiff
path: root/LocalSettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'LocalSettings.php')
-rw-r--r--LocalSettings.php92
1 files changed, 51 insertions, 41 deletions
diff --git a/LocalSettings.php b/LocalSettings.php
index e20f952..8cba993 100644
--- a/LocalSettings.php
+++ b/LocalSettings.php
@@ -88,31 +88,29 @@ $wgRightsIcon = "$wgResourceBasePath/resources/assets/licenses/cc-by-sa.png";
## Namespaces
-// define("NS_AUDIOVISUAL", 3000); // Este número DEBE ser par.
-// define("NS_AUDIOVISUAL_TALK", 3001); // Éste DEBE ser el siguiente entero impar.
-// $wgExtraNamespaces[NS_AUDIOVISUAL] = "Audiovisual";
-// $wgExtraNamespaces[NS_AUDIOVISUAL_TALK] = "Audiovisual_talk";
-// $wgContentNamespaces[] = NS_AUDIOVISUAL;
-// $smwgNamespacesWithSemanticLinks[NS_AUDIOVISUAL] = true;
-// $wgNamespaceAliases['Pelicula'] = NS_AUDIOVISUAL;
-// $wgNamespaceAliases['Pelicula_talk'] = NS_AUDIOVISUAL_TALK;
-// $wgNamespacesWithSubpages[NS_AUDIOVISUAL] = true;
-
-// define("NS_PRENSA", 3002); // Este número DEBE ser par.
-// define("NS_PRENSA_TALK", 3003); // Éste DEBE ser el siguiente entero impar.
-// $wgExtraNamespaces[NS_PRENSA] = "Prensa";
-// $wgExtraNamespaces[NS_PRENSA_TALK] = "Prensa_talk";
-// $wgContentNamespaces[] = NS_PRENSA;
-// $smwgNamespacesWithSemanticLinks[NS_PRENSA] = true;
-// $wgNamespacesWithSubpages[NS_PRENSA] = true;
-
-define("NS_EXPERIENCIA", 3004); // Este número DEBE ser par.
-define("NS_EXPERIENCIA_TALK", 3005); // Éste DEBE ser el siguiente entero impar.
-$wgExtraNamespaces[NS_EXPERIENCIA] = "Experiencia";
-$wgExtraNamespaces[NS_EXPERIENCIA_TALK] = "Experiencia_talk";
-$wgContentNamespaces[] = NS_EXPERIENCIA;
-$smwgNamespacesWithSemanticLinks[NS_EXPERIENCIA] = true;
-$wgNamespacesWithSubpages[NS_EXPERIENCIA] = true;
+define("NS_GATHERING", 3000); // Este número DEBE ser par.
+define("NS_GATHERING_TALK", 3001); // Éste DEBE ser el siguiente entero impar.
+$wgExtraNamespaces[NS_GATHERING] = "Gathering";
+$wgExtraNamespaces[NS_GATHERING_TALK] = "Gathering_talk";
+$wgContentNamespaces[] = NS_GATHERING;
+$smwgNamespacesWithSemanticLinks[NS_GATHERING] = true;
+$wgNamespacesWithSubpages[NS_GATHERING] = true;
+
+define("NS_REGION", 3002); // Este número DEBE ser par.
+define("NS_REGION_TALK", 3003); // Éste DEBE ser el siguiente entero impar.
+$wgExtraNamespaces[NS_REGION] = "Region";
+$wgExtraNamespaces[NS_REGION_TALK] = "Region_talk";
+$wgContentNamespaces[] = NS_REGION;
+$smwgNamespacesWithSemanticLinks[NS_REGION] = true;
+$wgNamespacesWithSubpages[NS_REGION] = true;
+
+define("NS_ECOVERSITY", 3004); // Este número DEBE ser par.
+define("NS_ECOVERSITY_TALK", 3005); // Éste DEBE ser el siguiente entero impar.
+$wgExtraNamespaces[NS_ECOVERSITY] = "Ecoversity";
+$wgExtraNamespaces[NS_ECOVERSITY_TALK] = "Ecoversity_talk";
+$wgContentNamespaces[] = NS_ECOVERSITY;
+$smwgNamespacesWithSemanticLinks[NS_ECOVERSITY] = true;
+$wgNamespacesWithSubpages[NS_ECOVERSITY] = true;
// define("NS_REVISAR", 3006); // Este número DEBE ser par.
// define("NS_REVISAR_TALK", 3007); // Éste DEBE ser el siguiente entero impar.
@@ -133,12 +131,12 @@ $wgNamespacesWithSubpages[NS_EXPERIENCIA] = true;
// $wgNamespaceProtection[NS_MAIN] = $wgNamespaceProtection[NS_USER] =
// $wgNamespaceProtection[NS_PROJECT] = $wgNamespaceProtection[NS_IMAGE] =
// $wgNamespaceProtection[NS_TEMPLATE] = $wgNamespaceProtection[NS_HELP] =
-// $wgNamespaceProtection[NS_CATEGORY] = $wgNamespaceProtection[NS_AUDIOVISUAL] =
-// $wgNamespaceProtection[NS_AUDIOVISUAL] = $wgNamespaceProtection[NS_EXPERIENCIA] =
+// $wgNamespaceProtection[NS_CATEGORY] = $wgNamespaceProtection[NS_GATHERING] =
+// $wgNamespaceProtection[NS_GATHERING] = $wgNamespaceProtection[NS_ECOVERSITY] =
// $wgNamespaceProtection[NS_EVENTO] =
-// $wgNamespaceProtection[NS_PRENSA] = array( 'autoconfirmed' );
+// $wgNamespaceProtection[NS_REGION] = array( 'autoconfirmed' );
-$wgNamespaceProtection[NS_EXPERIENCIA] = array( 'autoconfirmed' );
+$wgNamespaceProtection[NS_GATHERING] = $wgNamespaceProtection[NS_ECOVERSITY] = array( 'autoconfirmed' );
// $wgGroupPermissions['*']['revisar-edit'] = true;
// $wgNamespaceProtection[NS_REVISAR] = array( 'revisar-edit' );
@@ -147,17 +145,17 @@ $wgNamespacesToBeSearchedDefault = [
// NS_MAIN => true,
// NS_CATEGORY => true,
// NS_USER => true,
- NS_EXPERIENCIA => true
- // NS_PRENSA => true,
- // NS_AUDIOVISUAL => true,
+ NS_ECOVERSITY => true,
+ NS_REGION => true,
+ NS_GATHERING => true
// NS_EVENTO => true
];
$wgNamespaceAliases = array(
- // 'U' => NS_USER,
- 'E' => NS_EXPERIENCIA,
- // 'P' => NS_PRENSA,
- // 'A' => NS_AUDIOVISUAL,
+ // 'U' => NS_USER,s
+ 'E' => NS_ECOVERSITY,
+ 'R' => NS_REGION,
+ 'G' => NS_GATHERING
// 'V' => NS_EVENTO
);
@@ -178,10 +176,12 @@ $egChameleonExternalStyleModules = [
$IP . '/skins/bo/variables.less' => $wgScriptPath,
$IP . '/skins/bo/bo.less' => $wgScriptPath,
$IP . '/skins/bo/reevo.less' => $wgScriptPath,
- $IP . '/deployments/'. $REEVO_CODENAME .'/style.less' => $wgScriptPath
+ $IP . '/deployments/'. $REEVO_CODENAME .'/style.less' => $wgScriptPath,
+ $IP . '/deployments/'. $REEVO_CODENAME .'/fonts.css' => $wgScriptPath
];
\Bootstrap\BootstrapManager::getInstance()->addCacheTriggerFile( $IP . '/deployments/'. $REEVO_CODENAME .'/style.less' );
+\Bootstrap\BootstrapManager::getInstance()->addCacheTriggerFile( $IP . '/deployments/'. $REEVO_CODENAME .'/fonts.css' );
$egChameleonExternalLessVariables = [
@@ -225,7 +225,7 @@ wfLoadExtension( 'PageForms' );
## Maps
wfLoadExtension( 'Maps' );
-require_once $IP . '/extensions/Maps/Maps_Settings.php';
+// require_once $IP . '/extensions/Maps/Maps_Settings.php';
## ParserFunctions
wfLoadExtension( 'ParserFunctions' );
@@ -314,10 +314,10 @@ $wgEnableMetaDescriptionFunctions = true;
## HideNamespace
require_once "$IP/extensions/HideNamespace/HideNamespace.php";
$wgHidensNamespaces = array(
- // NS_PRENSA,
- // NS_AUDIOVISUAL,
+ // NS_REGION,
+ NS_GATHERING,
// NS_USER,
- NS_EXPERIENCIA,
+ NS_ECOVERSITY,
// NS_EVENTO,
// NS_REVISAR,
);
@@ -451,3 +451,13 @@ $wgHooks['EmailUser'][] = function ( &$address, &$from, &$subject, &$text, &$err
wfLoadExtension( 'CountryStates' );
$wgShowExceptionDetails = true;
+$wgCookieSecure = false;
+
+$smwgQMaxDepth = 1000;
+$smwgQMaxSize = 1000;
+
+
+wfLoadExtension( 'Scribunto' );
+$wgScribuntoDefaultEngine = 'luastandalone';
+
+ini_set('memory_limit', '1024M');