Page MenuHomePhabricator

newitem.py: add more templates to the skip list
Open, LowPublicFeature

Description

See T256676: newitem.py should ignore pages with {{Delete}}:

  • Q26004972, Q6838010 (redirect from misspelling)
  • Q14446424/Q14397354 (prod blp), Q7926719/Q12857463 (prod), Q5849910 (copyvio)
  • Q6535522 (db-meta) - this is not directly transcluded, so we should use page.templates() instead of page.templatesWithParams()
  • Q18198962 (Module:RfD), Q6916118 (Template:RfD)
  • Q6868608 (Template:Cfm full), Q6868546 (Template:Cfd full)
  • Q15630429 (Template:VfD)
  • Q13107809 (Template:Sockpuppet category)
  • Q5931187, Q26021926, Q21684530, Q20310993, Q25970270, Q57620750, Q4844001 (redirects to other projects)
  • Q97159332 (Japanese template for misspelling)

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript

Instead of hardcoding a list of templates, the list may be fetched via SELECT ?item {?item wdt:P31/wdt:P279* wd:Q97303167}; the URL is https://query.wikidata.org/sparql?query=SELECT%20%3Fitem%20%7B%3Fitem%20wdt%3AP31%2Fwdt%3AP279*%20wd%3AQ97303167%7D&format=json

Bugreporter renamed this task from Add more template to the skip list to newitem.py: add more template to the skip list.Jul 12 2020, 10:42 PM
Bugreporter renamed this task from newitem.py: add more template to the skip list to newitem.py: add more templates to the skip list.
Xqt triaged this task as Low priority.Jul 13 2020, 8:29 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".