[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 Jon changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC||jrob...@wikimedia.org Resolution||FIXED --- Comment #11 from Jon 2012-07-17 23:24:08 UTC --- Merged https://github.com/wikimedia/WLMMobile/commit/5389af2696203a80b5fba73d57a3157e4e8cb9c5 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 --- Comment #10 from Arthur Richards 2012-07-12 20:30:42 UTC --- Updated pull request at: https://github.com/wikimedia/WLMMobile/pull/53 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 --- Comment #9 from Arthur Richards 2012-07-11 22:03:45 UTC --- This is done in https://github.com/wikimedia/WLMMobile/pull/51 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 --- Comment #8 from Maarten Dammers 2012-07-11 20:43:22 UTC --- Talked this over with Arthur on Skype. Things are clear now. It's almost done :-) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 --- Comment #7 from Yuvi Panda 2012-07-11 17:41:46 UTC --- The gist looks great :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 --- Comment #6 from Arthur Richards 2012-07-11 16:43:47 UTC --- I've modified Yuvi's python script for capturing campaign data to use the full json output coming from the campaign API. This has multiple benefits, like providing some flexibility if data structures change (esp if new fields get added), and ensures that we have easy access to data we may need without having to further edit the script. Before I commit it, I wanted to make sure I'm going down the right path and not screwing anybody up. You can see the changes and the resulting output here: https://gist.github.com/3091602 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 --- Comment #5 from Phil Chang 2012-07-11 03:40:57 UTC --- or maybe it's idField. In any case, ID is the monument ID, which seems to not be in the UploadCampaigns configuration info. Instead, the ID template that is in the configuration info uses a $1 presumably for the monument ID. Here is the latest from Elke: > 1) Do we have to enable a field called Campaign ID, which gets added to the > record of the photo on Commons (in addition to Title and Description)? Maybe we will even have 2 fields, if this Bug will be completed: https://bugzilla.wikimedia.org/show_bug.cgi?id=37303 However, the principle is the same: the field gets the id parameter (in the Wizard, either manually or per URL query string). Our app would need to fill the (known) ID value into a field that contains exactly the template which exists in the respective Upload Wizard campaign. (We still pull campaign information via API, right? In my understanding, you need to pull this information from the campaign configuration) The basic categories: * The localized city name is "Köln", next level "Nordrhein-Westfalen" * The Category on Commons: "Cultural heritage monuments in Cologne" -> however, we have sub categories here. If something is unclear in the category handling, we should add the best possible (i.e. most exactly) maintenance category: Category:Maintenance for Wiki Loves Monuments in ... * Germany * Cologne Category:Maintenance for Wiki Loves Monuments in ... * Switzerland * Kanton Wallis * Zermatt -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 --- Comment #4 from Phil Chang 2012-07-11 03:30:05 UTC --- Please note other related bugs: 38283 - WLM App license info from uploadcampaigns API 38285 - Title and description fields needed on Upload Info screen 38286 - Mobile default categories for WLM App image upload Since a Description field needs to be shown to the user, and to maintain consistency with the Upload Wizard conventions, perhaps we should not call this field the "description" field. With Upload Wizard I believe it was called Campaign ID field. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 Arthur Richards changed: What|Removed |Added Status|NEW |ASSIGNED CC||aricha...@wikimedia.org --- Comment #3 from Arthur Richards 2012-07-10 23:26:49 UTC --- I've begun work on this but have a few things that need some clarification, stemming from some ignorance around prior development on the app and how things are expected to work. I'm working off of formatUploadDescription() in upload.js, which looks like it was initially put there as proof of concept/placeholder/whatever for future use - which is saving a bunch of work (thanks Brion!). There is some disconnect, however, between what it's looking for in campaignConfig and what I assume I should be using for campaignConfig, which is the campaigns object defined in campaigns-data.js. * Will a campaign always have only one possible license? * CAMPAIGNS doesn't actually seem to be used anywhere at the moment - is it's structure rigid or can we make some changes? Like making the campaign name or id a key for accessing the rest of the campaign data? I'm tempted to just store the campaign name in prefs when the user selects a campaign. * Similarly, there appears to be some campaign data missing from the campaign structure we're storing - like the campaign ID and other idField info, and autoWikiText. Should we just replicate the data structure coming back from the campaign api? * More on the idField stuff - am I supposed to be using 'idFieldLabel', 'idFieldLabelPage', or 'idFieldMaxLength' for anything? I should be able to wrap this up once these questions get resolved. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 Phil Chang changed: What|Removed |Added CC||phili...@gmail.com --- Comment #2 from Phil Chang 2012-07-10 19:16:20 UTC --- Maarten, are you sure idField goes into the Description field? Elke previously talked about a new field called Campaign ID. I am not clear on how we create a field on Commons that is used only by WLM. Opening new bugs for license info and our own default categories. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38282] Add WLM templates with proper info to images uploaded by the WLM Mobile app
https://bugzilla.wikimedia.org/show_bug.cgi?id=38282 Maarten Dammers changed: What|Removed |Added CC||maar...@mdammers.nl --- Comment #1 from Maarten Dammers 2012-07-10 18:53:14 UTC --- Based on https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=uploadcampaign&format=json&ucprop=config I think you want to use the following fields: * idField, data to add in the description field of information. Substitute $1 with the id * autoCategories, list of categories you need to add * defaultCategories, list of categories you also need to add * autoWikiText, wikitext to append at the bottom -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l