Parent5446 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/69018


Change subject: Updated and added default configuration
......................................................................

Updated and added default configuration

Some parts of the configuration must be a certain way, so let
those be defaults so that the end user doesn't have to configure
them manually.

Change-Id: I66952eecb1f7ce619c1e2f203a485446712c2d11
---
M AWS.php
1 file changed, 10 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AWS 
refs/changes/18/69018/1

diff --git a/AWS.php b/AWS.php
index ff65e5a..76d5b20 100644
--- a/AWS.php
+++ b/AWS.php
@@ -55,6 +55,15 @@
 $wgExtensionMessagesFiles['AWS'] = __DIR__ . '/AWS.i18n.php';
 $wgAutoloadClasses['JobQueueAmazonSqs'] = __DIR__ . 
'/sqs/JobQueueAmazonSqs.php';
 $wgAutoloadClasses['AmazonS3FileBackend'] = __DIR__ . 
'/s3/AmazonS3FileBackend.php';
-$wgJobTypeConf['sqs'] = array( 'class' => 'JobQueueAmazonSqs', 'order' => 
'random' );
+
+$wgJobTypeConf['sqs'] = array(
+       'class' => 'JobQueueAmazonSqs',
+       'order' => 'random'
+);
+$wgFileBackends['s3'] = array(
+       'name' => 'AmazonS3',
+       'class' => 'AmazonS3FileBackend',
+       'lockManager' => 'nullLockManager',
+);
 
 require_once __DIR__ . '/vendor/autoload.php';

-- 
To view, visit https://gerrit.wikimedia.org/r/69018
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66952eecb1f7ce619c1e2f203a485446712c2d11
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AWS
Gerrit-Branch: master
Gerrit-Owner: Parent5446 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to