Hello!
As part of upcoming work to be done to support use of UploadCampaigns from Mobile, I've spent time rewriting the underlying infrastructure for UploadCampaigns. This has no changes for people who use UploadWizard to just ''upload'' images, but plenty of changes for people who administer and maintain campaigns. The most important changes are:
* Campaigns are maintained by creating and modifying pages in a new Campaign: namespace. Special:UploadCampaign and Special:UploadCampaigns have been removed. * Pages in the Campaign: namespace have all the ''features'' of normal pages, and so have page history (solving [[bugzilla:30645]]), a talk page, can be watched/moved/deleted/undeleted, etc. * Full wikitext support in most fields - header/thanks labels (fixing [[bugzilla:39910]]) and in the field labels (solving [[bugzilla:39911]]). This should make customizations and internationalization simpler. * Arbitrary number of custom fields where the user can enter text while uploading, and such text is included in the uploaded image's description, are now supported (previously you were restricted to two fields) * As a negative, the GUI interface for configuring campaigns is now gone (temporarily). Currently the Campaign configuration is stored as [[:en:JSON|JSON]], which is edited by hand. There exists minimal validation so that corrupt data is not saved. A point and click interface would eventually be added at some point in the future. [[mw:Extension:UploadWizard/Campaigns|Documentation]] for the current JSON format exists.
This change is currently live on the [http://commons.wikimedia.beta.wmflabs.org/ commonsbeta] site, and can be tested there. This is on schedule to be rolled out to Commons on Monday, July 22 - unless large unforeseen bugs arise.
Thanks to MarkTraceur, Odder and Brion for their help in getting this done!
Special note for WLM: Since WLM is the biggest (almost only) user of campaigns right now, I'll be spending time to make sure that all the WLM campaigns work without issue.
-- Yuvi Panda T Mobile Team, Wikimedia Foundation http://yuvi.in/blog
Hi Yuvi,
As part of upcoming work to be done to support use of UploadCampaigns
from Mobile, I've spent time rewriting the underlying infrastructure for UploadCampaigns.
Thanks a lot for your work!
Is it possible to be granted upload campaign editor / sysop rights there, in order to play with these new features? Where shall I ask?
On Tue, Jul 16, 2013 at 3:47 AM, Jean-Frédéric jeanfrederic.wiki@gmail.com wrote:
Thanks a lot for your work!
:D
Is it possible to be granted upload campaign editor / sysop rights there, in order to play with these new features? Where shall I ask?
Sure! Poke me off list with your username there and I'll grant you the required rights.
-- Yuvi Panda T http://yuvi.in/blog
Great news, thanks for doing this! Hopefully this will be useful for editathon uploads (and post editathon-uploads for editathon efforts)
2013/7/16, Yuvi Panda yuvipanda@gmail.com:
On Tue, Jul 16, 2013 at 11:18 AM, Jane Darnell jane023@gmail.com wrote:
Yes, hopefully this will eventually become so simple that the rights to create / edit campaigns can be expanded more, and more local level campaigns can be organized easily.
-- Yuvi Panda T http://yuvi.in/blog
Also note that the old API for retreiving info about Campaigns (which had a grand total of 70 hits all of last month) will no longer work too. Apps / Tools that use that API (which seem to be rather small, from the look of things) should be rewritten to use generic page retreival APIs. -- Yuvi Panda T http://yuvi.in/blog
This is now enabled on testwiki. You can see the campaign config for wlm-pl at [https://test.wikipedia.org/wiki/Campaign:wlm-pl], and test the uploading at [https://test.wikipedia.org/wiki/Special:UploadWizard?campaign=wlm-pl]. Thanks!
-- Yuvi Panda T http://yuvi.in/blog
Interesting - I like the flickr option, even if there is no preview available I am missing the Polish campaign leader information and WLM license template - is that because the template is only available if you are in the Polish interface on the test wiki, or did you not include it in the test configuration?
2013/7/19, Yuvi Panda yuvipanda@gmail.com:
The flickr option is simply enabled for everyone on testwiki, but disabled by default for commons. That isn't anything new.
And the header information - that simply hasn't been added. I just added it to the campaign, but since the template doesn't exist there's a redlink displayed :)
On Fri, Jul 19, 2013 at 6:49 PM, Jane Darnell jane023@gmail.com wrote:
-- Yuvi Panda T http://yuvi.in/blog
This has now been deployed on Commons! Romaine is doing maintenance on them as we speak, but in general they should all work for the most part.
https://commons.wikimedia.org/w/index.php?title=Special%3APrefixIndex&pr... is list of all campaigns :)
-- Yuvi Panda T http://yuvi.in/blog
Hi
Some more basic question from the newbies in the UK!
I've looked at the UploadCampaigns coding on testwiki, and would like to try it out. Do I need sysop rights to do so?
Also, is there a basic page of instructions somewhere about the UploadCampaigns technology for 2013? The most recent I can find on Commons is
http://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2012/Upload_c...
which is listed as being out of date.
Michael
On 19 Jul 2013, at 12:12, Yuvi Panda wrote:
Hello!
On Tue, Jul 23, 2013 at 9:38 PM, Michael Maggs Michael@maggs.name wrote:
I've looked at the UploadCampaigns coding on testwiki, and would like to try it out. Do I need sysop rights to do so?
That, or the upwizcampaigneditor right. I can grant you that on testwiki, please ping me off list with your user name.
Also, is there a basic page of instructions somewhere about the UploadCampaigns technology for 2013? The most recent I can find on Commons is
There isn't any on commons, but the properties are documented on mediawiki: https://www.mediawiki.org/wiki/Extension:UploadWizard/Campaigns . You can also look at how the current campaigns are configured (list at https://commons.wikimedia.org/w/index.php?title=Special%3APrefixIndex&pr...) and copy/modify them for your own use. I'll happily help you along with any issues!
-- Yuvi Panda T http://yuvi.in/blog
Hi
Are the number of custom fields that can be passed via url to the uploadWizard still limited to two (independently on the number of id fields in the campaign)?
I.e. going to the url ...Special:uploadWizard?campaign=TEST&id=ABC&id2=XYZ&id3=123 sticks ABC into field 0, XYZ into field 1 but nothing into field 2.
Or is there another way of passing variables to the campaigns?
Cheers, André
On 23 July 2013 18:23, Yuvi Panda yuvipanda@gmail.com wrote:
Hello!
On Thu, Jul 25, 2013 at 9:37 PM, André Costa lokal_profil@hotmail.com wrote:
Nope! You can pass field[0], field[1], etc to as many as you have defined. The older id, etc still work for the first two fields.
If you have 3 fields you can pass them as:
/wiki/Special:UploadCampaign?campaign=wlm-something&field[0]=something&field[1]=somethin&field[2]=something etc
Thanks.
Didn't think about the fact that id/id2 were legacy parameters. Works fine now. You'll need to wrap another urlencode around each one for it to work in a {{fullurl:}} wikilink though.
Oh and it's field*s*[0] for anyone else finding this thread ;)
/André
On 25 July 2013 19:07, Yuvi Panda yuvipanda@gmail.com wrote:
On Fri, Jul 26, 2013 at 6:41 AM, André Costa lokal_profil@hotmail.com wrote:
Sorry for arriving late to this party but I've just found time to start reviewing the campaign for Panama. Last year we terribly missed an option to provide a multi select widget in the upload wizard so that people could pick one category. Is it possible to add that feature at this point? I can help coding it if needed. What I would like to have is something like
... fields: [ { "type": "select", "options": [{"firstValue": "First Option", {"secondValue": "Second Option"}], "label": "Some Label", "wikitext": "{{SomeTemplate|$1}}" }, ...
Of course, providing no "type" would default to a text input so this would be fully backwards compatible.
David E. Narvaez
On Thu, Aug 8, 2013 at 1:52 PM, David Narvaez david.narvaez@computer.org wrote:
https://gerrit.wikimedia.org/r/#/c/78641/
David E. Narváez
wikilovesmonuments@lists.wikimedia.org