diff options
Diffstat (limited to 'LocalSettings.php')
-rw-r--r-- | LocalSettings.php | 50 |
1 files changed, 39 insertions, 11 deletions
diff --git a/LocalSettings.php b/LocalSettings.php index 5bcf48b..b9d4779 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,23 @@ $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_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 +157,7 @@ $wgNamespacesWithSubpages[NS_ENDORSER] = true; // $wgNamespaceProtection[NS_EVENTO] = // $wgNamespaceProtection[NS_PRENSA] = array( 'autoconfirmed' ); +$wgNamespaceProtection[NS_CASE] = $wgNamespaceProtection[NS_REPORT] = $wgNamespaceProtection[NS_ENDORSER] = array( 'autoconfirmed' ); // $wgGroupPermissions['*']['revisar-edit'] = true; @@ -145,8 +166,9 @@ $wgNamespaceProtection[NS_ENDORSER] = array( 'autoconfirmed' ); $wgNamespacesToBeSearchedDefault = [ // NS_MAIN => true, // NS_CATEGORY => true, - // NS_USER => true, - NS_ENDORSER => true + NS_REPORT => true, + NS_ENDORSER => true, + NS_CASE => true // NS_PRENSA => true, // NS_AUDIOVISUAL => true, // NS_EVENTO => true @@ -154,7 +176,9 @@ $wgNamespacesToBeSearchedDefault = [ $wgNamespaceAliases = array( // 'U' => NS_USER, - 'E' => NS_ENDORSER, + 'C' => NS_CASE, + 'R' => NS_REPORT, + 'E' => NS_ENDORSER // 'P' => NS_PRENSA, // 'A' => NS_AUDIOVISUAL, // 'V' => NS_EVENTO @@ -315,12 +339,10 @@ $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, ); ## CSS @@ -379,19 +401,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 +429,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 +475,13 @@ wfLoadExtension( 'CategoryTree' ); ## CountryStates wfLoadExtension( 'CountryStates' ); + $wgShowExceptionDetails = true; +$wgCookieSecure = false; + +$smwgQMaxDepth = 1000; +$smwgQMaxSize = 1000; + + + +ini_set('memory_limit', '1024M'); |