Wikimedia

Add a namespace filter

Users might want to only consider link additions to a particular MediaWiki namespace, such as articles - at the moment they'd need to investigate this manually by downloading the data set. We already track this data per-LinkEvent, so it would be straightforward to add a filter.

  • Add a new IntegerField to common/forms.py for namespace
  • In common/helpers.py filter the queryset on this field in filter_queryset()
  • In organisation_detail.html and program_detail.html, add the relevant form HTML
  • Write a test for this functionality

Task tags

  • python
  • django

Students who completed this task

taavi

Task type

  • code Code
close

2019