The basic idea for this task is to create a similar year selection widget that is used in Fortepan. The target usecase would be to use it as part of Petscan search filter, as it can return 50,000 or 100,000 photos or more reasonably fast, so the year filtering is a usable way for post-filtering the photos.
The task is separated as subtasks which are selected so that there is also something interesting to learn
- T390663 : The year filtering UI and javascript code running in browser + uses QLever SPARQL endpoint as backend )
- T390661 : Django backgend for running the year database for the photos in Toolforge )
- T390655 : Parsing the year data from categorylinks database table backup dumps (Python)
- tbd : Script for keeping the Django backend year database in sync when pages are updated in Wikimedia Commons