From 7825f9cd26100ff47f2c61aae8cc121ee7c48030 Mon Sep 17 00:00:00 2001 From: Yaco Date: Mon, 12 Aug 2019 15:08:50 -0300 Subject: agrega configuraciones para UploadWizard --- www/wiki/LocalSettings.Reevo.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/www/wiki/LocalSettings.Reevo.php b/www/wiki/LocalSettings.Reevo.php index 20c95d5a..5e0f574f 100644 --- a/www/wiki/LocalSettings.Reevo.php +++ b/www/wiki/LocalSettings.Reevo.php @@ -249,8 +249,39 @@ wfLoadExtension( 'CSS' ); ## MultimediaViewer wfLoadExtension( 'MultimediaViewer' ); +## UploadWizard + wfLoadExtension( 'UploadWizard' ); $wgApiFrameOptions = 'SAMEORIGIN'; +$wgUploadWizardConfig = array( + 'debug' => false, + 'autoAdd' => array( + 'wikitext' => array( + 'This file was uploaded with the UploadWizard extension.' + ), + 'categories' => array( + 'Uploaded with UploadWizard' + ), + ), // Should be localised to the language of your wiki instance + 'feedbackPage' => 'Feedback about UploadWizard', + 'altUploadForm' => 'Special:Upload', + 'fallbackToAltUploadForm' => false, + 'feedbackLink' => false, // Disable the link for feedback (default: points to Commons) + 'alternativeUploadToolsPage' => false, // Disable the link to alternative upload tools (default: points to Commons) + 'enableFormData' => true, // Enable FileAPI uploads be used on supported browsers + 'enableMultipleFiles' => true, + 'enableMultiFileSelect' => true, + // 'uwLanguages' => array( + // 'ar' => 'العربية', + // 'de' => 'Deutsch', + // 'en' => 'English' + // ), // Selectable languages for file descriptions - defaults to 'en' + 'tutorial' => array( + 'skip' => true + ), // Skip the tutorial + // 'maxUploads' => 15, // Number of uploads with one form - defaults to 50 + 'fileExtensions' => $wgFileExtensions // omitting this may cause errors + ); ###### Extensiones propias -- cgit v1.2.1