summaryrefslogtreecommitdiff
path: root/www/wiki
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-08-12 15:08:50 -0300
committerYaco <franco@reevo.org>2019-08-12 15:08:50 -0300
commit7825f9cd26100ff47f2c61aae8cc121ee7c48030 (patch)
treeb2260a76d614c12156ff12575cf1551ec108a87f /www/wiki
parent5661cee2c1fa44dff50fd2bd3cdb1f54b7e461ec (diff)
agrega configuraciones para UploadWizard
Diffstat (limited to 'www/wiki')
-rw-r--r--www/wiki/LocalSettings.Reevo.php31
1 files changed, 31 insertions, 0 deletions
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