Page MenuHomePhabricator

Remove deprecated abuse filter fields from Wiki Replicas
Closed, ResolvedPublic

Description

The following fields will be removed:

  • abuse_filter.af_user
  • abuse_filter.af_user_text
  • abuse_filter_history.afh_user
  • abuse_filter_history.afh_user_text

Sample replacement:

OldNew
SELECT af_user, af_user_text
FROM abuse_filter
SELECT COALESCE(actor_user, 0) AS af_user, actor_name AS af_user_text
FROM abuse_filter
JOIN actor ON actor_id = af_actor
SELECT afh_user, afh_user_text
FROM abuse_filter_history
SELECT COALESCE(actor_user, 0) AS afh_user, actor_name AS afh_user_text
FROM abuse_filter_history
JOIN actor ON actor_id = afh_actor

Event Timeline

Pppery renamed this task from Remove deprecated fields from Wiki Replicas to Remove deprecated abuse filter fields from Wiki Replicas.May 1 2024, 9:22 PM

Change #1032809 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):

[operations/puppet@production] Remove deprecated abuse filter fields

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

Change #1032809 merged by Ladsgroup:

[operations/puppet@production] Remove deprecated abuse filter fields

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