https://bugzilla.wikimedia.org/show_bug.cgi?id=68285

--- Comment #4 from dan <d_ent...@yahoo.com> ---
local test
----------
* created a subset of the attached XML file containing the first 6 records
* imported and used this mapping:
http://commons.wikimedia.beta.wmflabs.org/wiki/GWToolset:Metadata_Mappings/Jean-Fr%C3%A9d%C3%A9ric/MH_IDF.json
* imported and used this template:
http://commons.wikimedia.beta.wmflabs.org/wiki/Template:MH_IDF-Ingestion
* mapped the metadata field categories to the Item specific categories metadata
filed drop down

when i first ran the upload i ran into a duplicate file issue. this error is
only visible in the runJobs log or in my case, in the console output when i ran
maintenance/runJobs.php. i had to comment out the LocalSettings.php config
value $wgUseInstantCommons = true; in order to run the batch successfully. i
don’t think this would be an issue on commons or commons beta, but if there are
duplicates on either of those servers, GWToolset would unfortunately fail
silently at the moment. I‘m hoping to add the use of Echo in order to report
batch upload status, but that is currently something for the future.


categories
----------
one thing i noticed that GWToolset didn’t handle well was the use of one XML
element to represent a series of categories. the preview page reports an error
and and while the resulting output seems to work, i think it would be better to
possibly improve the GWToolset parsing of such an XML element, or for now,
create multiple XML elements, each containing their own category. so instead of 

<categories>[[Category:1901 photographs]]
[[Category:Photographs by Eugène Atget]]
[[Category:Paris XIXe arrondissement]]</categories>

<category>1901 photographs</category>
<category>Photographs by Eugène Atget</category>
<category>Paris XIXe arrondissement]]</category>


current action to take
----------------------
since the XML subset did work for me locally, i’m wondering if some of the
recent core and GWToolset patches may have resolved the issue you were
experiencing. i suggest trying a small subset on commons beta again and report
back the result.

-- 
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

Reply via email to