Last modified: 2012-07-17 23:24:42 UTC
Screen 23 in the wireframes is the place in the workflow where all necessary metadata will be added to an image before it is uploaded. We need to include some default, hidden categories, in addition to the ones generated in bug 38282: Main category: Mobile upload Subcategory: Uploaded with Android WLM App Subcategory: User agent string (if possible)
Resolved in https://github.com/wikimedia/WLMMobile/pull/52 In order for categories to be hidden, they need to have the magic word "__HIDDENCAT__" added to the category page. This is probably overly complicated to automate in the app, and I'm not sure what the real benefit is to have these categories hidden, but it is certainly possible. Please advise on how to proceed.
Also, if we use the full user agent string, we're going to be generating a LOT of categories that look like: [[Category:Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; Nexus S Build/GRK39F) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1]] Yuvi suggested capturing a smaller subset of user agent info for the category names, like android version and device name.
Not sure if the categories need to be hidden. Seems to be a convention on Commons for these sorts of categories, and I thought that is how the WLM categories were treated as well. Let's ask Maarten, but for now you can make them unhidden. Android version and device name is a good idea for the UA subcategory.
Updated pull request for this is at: https://github.com/wikimedia/WLMMobile/pull/53 This does not inclue UA information at the moment, I'll tackle it later.
Just committed code to create a category based on the android version, language, and device. Looks like: [[Category:Android 2.3.6; en-us; Nexus S Build/GRK39F]] https://github.com/awjrichards/WLMMobile/commit/d177a3aa485592e457b4833f1b545090789b87a8
Actually, looks like: [[Category:UA: Android 2.3.6; en-us; Nexus S Build/GRK39F]]
Merged https://github.com/wikimedia/WLMMobile/commit/5389af2696203a80b5fba73d57a3157e4e8cb9c5