Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incomplete metadata on Commons #62

Open
Daniel-Mietchen opened this issue Feb 18, 2017 · 8 comments
Open

Fix incomplete metadata on Commons #62

Daniel-Mietchen opened this issue Feb 18, 2017 · 8 comments

Comments

@Daniel-Mietchen
Copy link
Member

Daniel-Mietchen commented Feb 18, 2017

The bot's latest uploads to Commons are missing basically all the metadata. Compare https://commons.wikimedia.org/wiki/File:Amphibians-and-reptiles-of-the-state-of-Coahuila-Mexico-with-comparison-with-adjoining-states-zookeys-593-117-g003.jpg (correct) with https://commons.wikimedia.org/wiki/File:Zika-Virus-Emergence-in-Mosquitoes-in-Southeastern-Senegal-2011-pone.0109442.g001.jpg (which misses categories as well as the bot's template).

This needs immediate fixing, otherwise we cannot upload anything further, since uploads with such incomplete metadata are not acceptable on Commons.

@difranco
Copy link
Collaborator

Adding Terry, since metadata is extracted by xslt transform.

@Daniel-Mietchen
Copy link
Member Author

My guess is that this is rather on the Python end, since this part has worked basically from the start, as it was largely copied over from https://github.com/wpoa/open-access-media-importer , which still produces decent metadata, as can be seen from the most recent uploads at https://commons.wikimedia.org/wiki/Special:ListFiles/Open_Access_Media_Importer_Bot .

@Daniel-Mietchen
Copy link
Member Author

@difranco
Copy link
Collaborator

difranco commented Feb 19, 2017 via email

@Daniel-Mietchen
Copy link
Member Author

OK, will check some other cases.

@difranco
Copy link
Collaborator

Likely the same problem as #63

@Daniel-Mietchen
Copy link
Member Author

Blocks #66.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants