Listeriabot includes nonfree files to nonmain namespace in ruwiki

Issue #24 new
MBH
created an issue

This bot creates this list https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:2016_%D0%B3%D0%BE%D0%B4_%D0%B2_%D0%BE%D0%B1%D1%89%D0%B5%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D0%BC_%D0%B4%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B8. List was moved to "Wikipedia:" namespace in ruwiki, because it isn't an article. Ruwiki permits nonfree files using, but only in main (article) namespace. Your bot grabs first picture in article and includes it to the list, but it may be nonfree picture. My bot removes nonfree files inclusions from nonmain namespaces every day, so we have bot war: https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:2016_%D0%B3%D0%BE%D0%B4_%D0%B2_%D0%BE%D0%B1%D1%89%D0%B5%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D0%BC_%D0%B4%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D0%BD%D0%B8%D0%B8?action=history. It would be nice if your bot checks if the file is nonfree, and in this case didn't include it to the list.