Page MenuHomePhabricator

Consider not hardcoding filter names in RC Filters tracking
Closed, ResolvedPublic

Description

ChangesListSpecialPageFilters will be deprecated, so we should use another hook, such as ChangesListSpecialPageQuery, instead. We should also avoid hard-coding them if possible.

Event Timeline

Change 348088 had a related patch set uploaded (by Sbisson):
[mediawiki/extensions/WikimediaEvents@master] Stop using deprecated hook 'ChangesListSpecialPageFilters'

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

Avoiding the deprecated hook was fixed in T162879: Replace deprecated hook usage ChangesListSpecialPageFilters in WikimediaEvents

Not hardcoding filter names would mean changing the schema from filter names in keys ( { hideminor: true } ) to filter names in values ( { name: 'hideminor", value: true } ). It's not a problem in itself but it means the data before and after will be different and that's added complexity for data analysis.

It would be interesting to have opinions on both schemas from people actually working with this data.

Change 348088 abandoned by Sbisson:
Stop using deprecated hook 'ChangesListSpecialPageFilters'

Reason:
Was fixed in I25476deab3296828e277174bba15976e7f6d998a

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

SBisson renamed this task from Update filter logging for refactoring to Consider not hardcoding filter names in RC Filters tracking.Apr 13 2017, 3:46 PM
SBisson removed SBisson as the assignee of this task.
SBisson subscribed.

The patch was for an aspect of this task (usage of deprecated hook) that ended up being handled somewhere else.

Krinkle assigned this task to Catrope.
Krinkle triaged this task as Medium priority.
Krinkle removed a subscriber: Mattflaschen-WMF.
Krinkle subscribed.