Page MenuHomePhabricator

Stop reading from the gbw_address and gbw_target_central_id columns
Closed, ResolvedPublic2 Estimated Story Points

Description

To allow the removal of the gbw_address and gbw_target_central_id columns (T374937), we need to stop reading data from these columns. Places where we read the value of these columns should be updated to first lookup by target using the globalblocks table and then use the relevant ID to find the global_block_whitelist row.

Acceptance criteria
  • All code in the GlobalBlocking extension no longer reads data from the gbw_address and gbw_target_central_id columns

Event Timeline

Change #1073459 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/GlobalBlocking@master] Stop reading from gbw_address and gbw_target_central_id

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

Change #1073459 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Stop reading from gbw_address and gbw_target_central_id

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

For QA, I would suggest regression testing as no on-wiki functionality should have changed as a result of this ticket.

Djackson-ctr subscribed.

QA regression testing has been completed, and GlobalBlocking is functioning as expected.