Page MenuHomePhabricator

Limit size of gallery (monuments_without_id)
Closed, ResolvedPublic

Description

monuments_without_id.py outputs reports on any monument image which dies not have a Commons tracking template.

It outputs all such images into one gallery. For a large dataset where the script had not been run in a while the galleries can become large enough to slow down/crash the page.

Implement a max_images feature, similar to that in unused images to prevent the gallery from becoming too large.

The edit summary can clarify that there are more non-reported candidates.

Event Timeline

The script populates the gallery using two separate processes. Might be worth thinking about whatever the first process should be allowed to use up the whole allotment of images.

Lokal_Profil renamed this task from limit size of gallery (monuments_without_id) to Limit size of gallery (monuments_without_id).Sep 17 2018, 6:54 PM
Lokal_Profil updated the task description. (Show Details)

Change 461594 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil):
[labs/tools/heritage@master] Limit number of images added to gallery

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

Change 461594 merged by jenkins-bot:
[labs/tools/heritage@master] Limit number of images added to gallery

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