Hello Morten,

The nobots-feature was designed by enwiki originally, so if their documentation states it should be {{bots|allow=...}} and the pywikipedia code does this - I think it's the way it should be ;-).

However, it might be an idea to check how many people are using the {{nobots|allow=}} syntax. If this is a common error, we might want to consider updating the code (and enwiki docs!) to make this work.

Best,
Merlijn

On 2 July 2011 22:20, Morten Wang <nettrom@gmail.com> wrote:
Hi,

I've noticed botMayEdit() doesn't check for a whitelist if the template used is {{nobots}}, instead it always returns False.  Is that a bug or a feature?  From reading the documentation on en:Template:Bots, it seems that {{nobots|allow=FooBot}} isn't actually a supported way of using the template (instead it should be {{bots|allow=FooBot}}) so pywikibot is doing it right.  Still, I just wanted to check before I go fiddling with the template on somebody's talk page (again) :)


Cheers,
Morten


_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l