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

On 16 June 2014 16:33, John <> 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 <> wrote:

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 mailing list