Then it should be in the default 'bot' class, not in the Page class.

On 16 June 2014 16:33, John <[email protected]> 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 <[email protected]>
> 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
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>>
>
>
> _______________________________________________
> Pywikipedia-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to