From d895d4e6cc5c3a125f1057af77fbb5f064bb1de6 Mon Sep 17 00:00:00 2001 From: Yaco Date: Sat, 10 Aug 2019 11:07:36 -0300 Subject: mejora orden y estructura del archivo --- www/wiki/LocalSettings.Reevo.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/www/wiki/LocalSettings.Reevo.php b/www/wiki/LocalSettings.Reevo.php index f311064b..c00de550 100644 --- a/www/wiki/LocalSettings.Reevo.php +++ b/www/wiki/LocalSettings.Reevo.php @@ -10,18 +10,16 @@ if ( !defined( 'MEDIAWIKI' ) ) { include(__DIR__ . '/../../etc/global_config.php'); $wgMetaNamespace = "REEVO"; - $wgScriptPath = ""; ## The URL path to static resources (images, scripts, etc.) $wgResourceBasePath = $wgScriptPath; - - $wgScriptPath = ""; $wgArticlePath = "/$1"; $wgUsePathInfo = true; $wgResourceBasePath = $wgScriptPath; + ## Database settings $wgDBtype = "mysql"; $wgDBserver = "localhost"; @@ -32,6 +30,7 @@ $wgDBprefix = ""; $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; $wgDBmysql5 = false; + ## Registro y perfil de usuarios $wgEmailConfirmToEdit = true; $wgHiddenPrefs[] = 'realname'; @@ -39,6 +38,7 @@ $wgHiddenPrefs[] = 'genre'; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['user']['upload_by_url'] = true; + ## Email $wgEmergencyContact = "webmaster@$REEVO_URL"; $wgPasswordSender = "webmaster@$REEVO_URL"; @@ -51,11 +51,13 @@ $wgEmailAuthentication = true; $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = []; + ## Subidas e imagenes $wgEnableUploads = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; -$wgAllowImageTag = "true"; +$wgAllowImageTag = true; +$wgAllowExternalImages = true; $wgUseInstantCommons = false; $wgDiff3 = "/usr/bin/diff3"; $wgAllowCopyUploads = true; @@ -67,12 +69,14 @@ $wgLanguageCode = "es"; $wgMessagesDirs['Reevo'] = "../../i18n/wiki/reevo"; $wgMessagesDirs['ISO'] = "../../i18n/wiki/iso"; + ## Licencia $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = "https://creativecommons.org/licenses/by-sa/4.0/"; $wgRightsText = "Creative Commons Atribución-CompartirIgual"; $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. @@ -100,7 +104,6 @@ $wgContentNamespaces[] = NS_EXPERIENCIA; $smwgNamespacesWithSemanticLinks[NS_EXPERIENCIA] = true; $wgNamespacesWithSubpages[NS_EXPERIENCIA] = true; - $wgNamespaceAliases = array( 'U' => NS_USER, 'E' => NS_EXPERIENCIA, @@ -142,6 +145,7 @@ $egChameleonExternalLessVariables = [ 'input-border-focus' => 'rgba(0, 0, 0, .1)' ]; + ###### Extensiones ## NoTitle -- cgit v1.2.1