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

JAnD created this task.Mon, Jun 29, 7:14 PM
Restricted Application added a project: Pywikibot. · View Herald TranscriptMon, Jun 29, 7:14 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
JAnD updated the task description. (Show Details)Mon, Jun 29, 7:16 PM
Xqt triaged this task as Low priority.Tue, Jun 30, 9:09 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".
Xqt added a project: Pywikibot-Scripts.
Xqt added a subscriber: Xqt.Tue, Jun 30, 9:12 AM

@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

Xqt claimed this task.Tue, Jun 30, 3:59 PM
JAnD updated the task description. (Show Details)Tue, Jun 30, 4:57 PM

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

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

Xqt closed this task as Resolved.Fri, Jul 3, 8:42 AM