Rillke has uploaded a new change for review.

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


Change subject: Update CommonSettings to reflect changes in UpWiz
......................................................................

Update CommonSettings to reflect changes in UpWiz

Change 4a530c4b7341b9bb8409b194469f594f24fb5548 made some non-backward
compatible changes to UploadWizard including its settings for
automatically adding a category (UploadWizard.config.php l. 81).

Consequently, [[Category:Uploaded with UploadWizard]] was not added to new
uploads at Wikimedia Commons (it is used for statistical purposes;
whether it is useful and not just wasting resources by creating a really
big category -- someone else has to decide this).

Bug: 51879
Change-Id: I4ddada23af422e229b385482a710f886dad092ca
---
M wmf-config/CommonSettings.php
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/02/75602/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index cf86a92..151d7d3 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1857,7 +1857,11 @@
        $wgUploadWizardConfig = array(
                # 'debug' => true,
                'disableResourceLoader' => false,
-               'autoCategory' => 'Uploaded with UploadWizard',
+               'autoAdd' => array(
+                       'categories' => array(
+                               'Uploaded with UploadWizard',
+                       ),
+               ),
                // If Special:UploadWizard again experiences unexplained 
slowness loading JavaScript (spinner on intial load spinning forever)
                'flickrApiUrl' => 'http://api.flickr.com/services/rest/?',
                // Normally we don't include API keys in CommonSettings, but 
this key

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ddada23af422e229b385482a710f886dad092ca
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Rillke <rainerril...@hotmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to