Hello Morten,<div><br></div><div>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 ;-).</div>
<div><br></div><div>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.</div>
<div><br></div><div>Best,</div><div>Merlijn<br><br><div class="gmail_quote">On 2 July 2011 22:20, Morten Wang <span dir="ltr"><<a href="mailto:nettrom@gmail.com">nettrom@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi,<br></div><div><br></div><div>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) :)</div>
<div><br></div><div><br></div><div>Cheers,</div><div>Morten</div><font color="#888888"><div><br></div>
</font><br>_______________________________________________<br>
Pywikipedia-l mailing list<br>
<a href="mailto:Pywikipedia-l@lists.wikimedia.org">Pywikipedia-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l</a><br>
<br></blockquote></div><br></div>