Extension talk:UploadWizard/Campaigns

From mediawiki.org

template as tutorial?[edit]

Hi, "Campaigns" is an amazing and cool thing. But I miss some features. For starting with it: it is not possible to use a mediawiki Template as value for "template" parameter in "tutorial"? A file (like png or svg) is difficult to translate, a template is easier, and campaigns use to be international. Thanks! --Dvdgmz (talk) 11:07, 10 September 2013 (UTC)Reply

Database update[edit]

Tables need to be added for the campaigns to workout. But when I run the update.php, I get this error :

Warning: array_key_exists() expects parameter 2 to be array, null given in ...UploadWizard\UploadWizard.php on line 73

I am currently running on Mediawiki 1.21.1.
Thanks for your help ! 78.220.29.24 09:14, 25 September 2013 (UTC)Reply

Structured Data in UploadWizard and other questions[edit]

Hello! In Brazil this year we'll use Wikidata to generate our lists of monuments. We want also to provide, through Wikidata, as much information about the monument to the photography file as we can. So, trying to implementing those we came up with some questions that I would like to have some guidance on:

  1. We are able to suggest a description for the image based on the Description at Wikidata (Lxxx in QS syntax), but only in one language. I know that Depicted place do it dynamically for places, but not every monument is a place neither we want to stop the users to adapt the description with their own words, so through a template wont serve it. Is there a way to do this through UW? Suggest multiple language descriptions (statically) based on what is on Wikidata about the QID passed?
  2. I tried to pass a caption trough the URL but didn't work. What is the syntax for parsing one caption?
  3. Similar to the previous question, is there a way to fill multiple Captions in different languages with Wikidata information?
  4. I followed the instructions at Extension:UploadWizard/Campaigns to put a depicts (P180) = QID in the structured date section, as any image of an monument is depicting the monument itself, and didn't work. My guess is that the suggestion value have to be fix and I putted $1?
  5. This isn't a question, it's more a desire for the UW in the future (if its not already implemented): Selection of which template to use (right after the license selection). Information is good, but other templates serve better depending on the type of event/campaign.

Ederporto (talk) 22:02, 27 August 2019 (UTC)Reply

@Ederporto: for 2. I succeeded with info from Commons:Commons:Upload Wizard/Fields prefilling with url-parameters caption and captionlang --Herzi Pinki (talk) 07:59, 17 May 2020 (UTC)Reply