Page MenuHomePhabricator

newitem.py should ignore pages with {{Delete}}
Closed, ResolvedPublicFeature

Description

Running newitem.py also creates items for pages marked with {{delete}} (or local equivalent) incuding redirects marked for deletion.
There are wikis where sysops are not very active and these pages should stay here several weeks.

This script should skip these pages and not create item for them.

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as Low priority.Jun 30 2020, 9:09 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".
Xqt added a project: Pywikibot-Scripts.

@JAnD: redirect pages are skipped already. Could you please explain your description change.

Change 608658 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] newitem.py: ignore pages with {{delete}} templates

https://gerrit.wikimedia.org/r/c/pywikibot/core/ /608658

Change 608658 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] newitem.py: ignore pages with {{delete}} templates

https://gerrit.wikimedia.org/r/608658