wpoa / open-access-media-importer

A tool for harvesting media files from Open Access articles for upload into Wikimedia Commons
http://commons.wikimedia.org/wiki/User:Open_Access_Media_Importer_Bot
23 stars 8 forks source link

Avoid categories containing "and" #89

Open Daniel-Mietchen opened 11 years ago

Daniel-Mietchen commented 11 years ago

Recent example: http://commons.wikimedia.org/wiki/Category:Alligators_and_crocodiles

Better split: [[Category:Alligators]] and [[Category:Crocodiles]]

erlehmann commented 11 years ago

I am confused. We already filter out single-word categories, see https://github.com/erlehmann/open-access-media-importer/blob/master/helpers/template.py#LC98.

Daniel-Mietchen commented 11 years ago

We do not filter out categories that contain an "and", but most of these are not accepted on Commons. We could of course put "and" categories onto a blacklist (as per https://github.com/erlehmann/open-access-media-importer/issues/92 ), but it would more often be better to have both of the "split" categories (and be they single-worded).