----- Original Nachricht ----
Von: Merlijn van Deen <valhallasw(a)arctus.nl>
An: Pywikibot discussion list <pywikipedia-l(a)lists.wikimedia.org>
Datum: 16.06.2014 17:11
Betreff: Re: [Pywikipedia-l] Page delete and protect
Then it should be in the default 'bot' class,
not in the Page class.
strong +1
xqt
On 16 June 2014 16:33, John
<phoenixoverride(a)gmail.com> wrote:
Avoiding the headache of re-inventing the wheel
across dozens of scripts
that use that code?
On Mon, Jun 16, 2014 at 10:19 AM, John Mark Vandenberg <jayvdb(a)gmail.com>
wrote:
In
https://gerrit.wikimedia.org/r/#/c/139792
I noticed that Page.delete() and page.protect() have a lot of user
interaction logic which would normally be in a script. e.g. asking a
user what actions to take. Also, they set a flag in the site object.
i.e. site._noDeletePrompt = True and site._noProtectPrompt = True
Is there any reason for it being in Page?
--
John Vandenberg
_______________________________________________
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