Page MenuHomePhabricator

Mark Family.interwiki_replacement as deprecated so it can be removed later
Closed, ResolvedPublicFeature

Description

Mark Family.interwiki_replacement as deprecated so it can be removed later. interwiki_replacement is just a frozen dict of code_aliases and is not uses (anymore?) within the framework. Code duplication should be avoided.

See also:

Event Timeline

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Xqt triaged this task as Low priority.Jul 14 2025, 8:48 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".

Hi, I can do this

Great. If there are any questions, please feel free to ask.

Change #1195273 had a related patch set uploaded (by Sanjai Siddharthan; author: Sanjai Siddharthan):

[pywikibot/core@master] Add deprecation tag for Family.interwiki_replacement

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

sanjaisid changed the task status from Open to In Progress.Oct 10 2025, 7:25 PM

Change #1195354 had a related patch set uploaded (by Sanjai Siddharthan; author: Sanjai Siddharthan):

[pywikibot/core@master] Replaced deprecated usage of interwiki_replacements

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

Change #1195273 abandoned by Sanjai Siddharthan:

[pywikibot/core@master] Add deprecation tag for Family.interwiki_replacement

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

Change #1195273 restored by Sanjai Siddharthan:

[pywikibot/core@master] Add deprecation tag for Family.interwiki_replacement

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

Change #1195354 abandoned by Sanjai Siddharthan:

[pywikibot/core@master] Replaced deprecated usage of interwiki_replacements

Reason:

Rebased

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

Change #1195273 merged by jenkins-bot:

[pywikibot/core@master] Add deprecation tag for Family.interwiki_replacement

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