Page MenuHomePhabricator

Make scripts handle empty commonsTrackerCategory gracefully
Closed, ResolvedPublic

Description

! In T143573#2683218, @Lokal_Profil wrote:
If commonsTrackerCategory is missing the country was skipped sometimes but I'm unsure about the following:

  • images_of_monuments_without_id.py
  • unused_monument_images.py
  • missing_commonscat_links.py

While these are potential stability issues they shouldn't be a problem for Nigeria since each is skipped because of another empty parameter (unusedImagesPage, imagesWithoutIdPage and missingCommonscatPage [undocumented?])

So essentially make the below deal gracefully with an empty commonsTrackerCategory:

  • images_of_monuments_without_id.py
  • unused_monument_images.py
  • missing_commonscat_links.py

Related Objects

Event Timeline

Change 455023 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil):
[labs/tools/heritage@master] Handle missing commonsTrackerCategory gracefully

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

Change 455023 merged by jenkins-bot:
[labs/tools/heritage@master] Handle missing commonsTrackerCategory gracefully

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