wpoa / recitation-bot

MediaWiki bot to upload content to Wikimedia projects and update corresponding citations on Wikipedia.
GNU General Public License v3.0
9 stars 3 forks source link

Sync with OAMI #31

Open Daniel-Mietchen opened 10 years ago

Daniel-Mietchen commented 10 years ago

Currently, recitation bot ignores non-image files. However, for audio and video files, it should sync with OAMI.

For instance, https://en.wikisource.org/w/index.php?title=Wikisource:WikiProject_Open_Access/Programmatic_import_from_PubMed_Central/A_new_species_of_the_Boophis_rappiodes_group_%28Anura_Mantellidae%29_from_the_Sahamalaza_Peninsula_northwest_Madagascar_with_acoustic_monitoring_of_i&oldid=5020464#Supplementary_material_1 links to "File:Zookeys-435-111-s001.wav", which already exists at https://commons.wikimedia.org/wiki/File:A-new-species-of-the-Boophis-rappiodes-group-%28Anura-Mantellidae%29-from-the-Sahamalaza-Peninsula-zookeys-435-111-s001.oga .

Eventually, the relevant parts of OAMI should be folded into recitation bot.

wrought commented 9 years ago

my recent change should fix this for supplementary files, for instance: https://en.wikisource.org/wiki/Wikisource:WikiProject_Open_Access/Programmatic_import_from_PubMed_Central/A_new_species_of_the_Boophis_rappiodes_group_(Anura_Mantellidae)_from_the_Sahamalaza_Peninsula_northwest_Madagascar_with_acoustic_monitoring_of_its_nocturnal_calling_activity

Does this need to be done for typical figures as well?