Thanks for quick responses! Merlijn touched on something that I found out I
could easily test. Apparently there's about 634 or so links to the
{{nobots}} template. Only 3 use a 'allow=' parameter, so I think it's clear
that it's an incorrect way of using the template, and there's no point in
supporting it.
One other thing I found was the behaviour xqt mentions below, only found on
one page though: en:Norwegian Wikipedia has {{nobots|interwiki}}.
Thanks again for commenting, and helping me figure out the easy way to test
this. Next time I'll probably remember to run a quick SQL query and write a
few lines of Python.
Cheers,
Morten
On Sat, Jul 2, 2011 at 4:21 PM, <info(a)gno.de> wrote:
Hi folks,
sometimes I found sth. like {{nobots|Xqbot}} which is similar to
{{bots|deny=Xqbot}}. Maybe it should be implemented (I've done it for my
working copy).
An other idea I've tested on my working copy is {{nobots|<scriptname>}}
which could prevent running some scripts on a given page like interwiki but
enables other bot scripts working.
Greetings
xqt
----- Original Nachricht ----
Von: Merlijn van Deen <valhallasw(a)arctus.nl>
An: Pywikipedia discussion list <pywikipedia-l(a)lists.wikimedia.org>
Datum: 02.07.2011 22:30
Betreff: Re: [Pywikipedia-l] botMayEdit() and {{nobots}}
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(a)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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
--------------------------------
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l