[Pywikipedia-l] botMayEdit() and {{nobots}}

Merlijn van Deen valhallasw at arctus.nl
Sat Jul 2 20:30:54 UTC 2011


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 at 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 at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20110702/e51741b0/attachment.htm 


More information about the Pywikipedia-l mailing list