import pywikibot site = pywikibot.Site('sq', 'wikipedia') page = pywikibot.Page(site, 'sq') page.text = "Hello Bot" page.save()
Sleeping for 9.2 seconds, 2016-12-04 12:57:03 Page [[sq:Sq]] saved
Deleting [[sq:Sq]]. Please enter a reason for the deletion:
It was just for testing..
Can't delete [[sq:Sq]]; do you want to mark it for deletion instead? ([y]es, [N]o, [a]ll):
Page [[sq:Sq]] saved