Page MenuHomePhabricator

delete.py does not work on non WMF wikis
Closed, DeclinedPublicBUG REPORT

Description

Steps to Reproduce:
Run python3 pwb.py delete -titleregex:/edithistory -usercontribs:Zoranzoki21 -family:testwiki (this is example)

Actual Results:
Output is like that:

>>> Title of page <<<
Can't delete [[Title of page]]; do you want to mark it for deletion instead? ([y]es, [N]o, [a]ll):
`

Expected behaviour
Script should delete page(s).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 8 2018, 2:21 AM
Zoranzoki21 closed this task as Declined.Oct 8 2018, 2:22 AM

In user-config.py add sysopnames line like as usernames line. I opened this task so users next time when want to report that on Phabricator can find this task.

Restricted Application added a subscriber: pywikibot-bugs-list. · View Herald TranscriptOct 8 2018, 2:23 AM
Zoranzoki21 updated the task description. (Show Details)Oct 8 2018, 2:23 AM
zhuyifei1999 renamed this task from delete.py no work on non WMF wikis to delete.py does not work on non WMF wikis.Oct 8 2018, 4:47 AM
zhuyifei1999 added a subscriber: zhuyifei1999.