diff options
author | Yaco <franco@reevo.org> | 2019-07-31 14:50:50 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2019-07-31 14:50:50 -0300 |
commit | 3848848fc3bc2db035c824f1453635949505d76e (patch) | |
tree | 71fd898ebb220e7ba034cf2bc1bf708fdd0d6219 /www/wiki/LocalSettings.Reevo.php | |
parent | 2dfe0b926fe5c6c4f27ad1f9bc1c1377cb091111 (diff) |
ACTUALIZA MW a 1.31.3, SMW a 3.0.2 y extensiones menores
Diffstat (limited to 'www/wiki/LocalSettings.Reevo.php')
-rw-r--r-- | www/wiki/LocalSettings.Reevo.php | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/www/wiki/LocalSettings.Reevo.php b/www/wiki/LocalSettings.Reevo.php index 9cdffa59..1be2d42b 100644 --- a/www/wiki/LocalSettings.Reevo.php +++ b/www/wiki/LocalSettings.Reevo.php @@ -37,7 +37,7 @@ $wgEmailConfirmToEdit = true; $wgHiddenPrefs[] = 'realname'; $wgHiddenPrefs[] = 'genre'; $wgGroupPermissions['*']['createaccount'] = false; - +$wgGroupPermissions['user']['upload_by_url'] = true; ## Email $wgEmergencyContact = "webmaster@$REEVO_URL"; @@ -58,6 +58,8 @@ $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgAllowImageTag = "true"; $wgUseInstantCommons = false; $wgDiff3 = "/usr/bin/diff3"; +$wgAllowCopyUploads = true; + ## Idioma $wgShellLocale = "en_US.utf8"; @@ -103,9 +105,10 @@ $wgNamespacesWithSubpages[NS_EXPERIENCIA] = true; ###### Skin y visuales ## Default skin +// wfLoadSkin( 'chameleon' ); $wgDefaultSkin = 'chameleon'; $wgLogo = '/skins/bo/logo.svg'; -$egChameleonLayoutFile = __DIR__ . '/skins/bo/layout-tools.xml'; +$egChameleonLayoutFile = __DIR__ . '/skins/bo/layout-reevo.xml'; $wgRawHtml = true; $egChameleonExternalStyleModules = [ @@ -115,6 +118,8 @@ $egChameleonExternalStyleModules = [ __DIR__ . '/skins/bo/reevo.less' => $wgScriptPath ]; +\Bootstrap\BootstrapManager::getInstance()->addCacheTriggerFile( __DIR__ . '/skins/bo/reevo.less' ); + $egChameleonExternalLessVariables = [ 'font-size-base' => '18px', 'font-size-large' => '20px', @@ -140,15 +145,19 @@ $wgRestrictDisplayTitle = false; wfLoadExtension( 'Cite' ); ## Semantic Mediawiki -require_once "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php"; +// require_once "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php"; enableSemantics( $REEVO_URL ); -$smwgQMaxInlineLimit = 2000; +// $smwgQMaxInlineLimit = 2000; +wfLoadExtension( 'SemanticResultFormats' ); wfLoadExtension( 'SemanticFormsSelect' ); -# wfLoadExtension( 'SemanticResultFormats' ); ## PageForms wfLoadExtension( 'PageForms' ); +## Maps +wfLoadExtension( 'Maps' ); +require_once __DIR__ . '/extensions/Maps/Maps_Settings.php'; + ## ParserFunctions wfLoadExtension( 'ParserFunctions' ); $wgPFEnableStringFunctions = true; @@ -219,12 +228,16 @@ $wgHidensNamespaces = array( NS_PRENSA, NS_AUDIOVISUAL, NS_USER, + NS_EXPERIENCIA, ); - ## CSS wfLoadExtension( 'CSS' ); +## MultimediaViewer +wfLoadExtension( 'MultimediaViewer' ); + + ###### Extensiones propias ## ImportarPerfil |