Page MenuHomePhabricator

Move Skin::normalizeKey() to SkinFactory
Open, Needs TriagePublic

Description

The static method Skin::normalizeKey() makes use of globals and the SkinFactory service, and is used in multiple places were dependencies can be injected. The method should be instead moved to SkinFactory.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 707015 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/core@master] Move Skin::normalizeKey() to SkinFactory

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

I'm sorry that I haven't handled this task. I recently returned from a long bout of unexpected inactivity, and while I plan to resume my contributions here on Phabricator its unfair to claim tasks that I might not work on when others may be interested in handling them. I'm removing myself as the assignee in a batch-action, but if someone feels that I really should be the one to handle this task feel free to re-assign me and I'll take a look.

I tried to make a stab at this work some time ago (patches that Krinkle mentioned ) but then I abandoned the idea. Now I want to get this thing done and noticed you made a ticket for it and pushed a PR. Nice. Thanks.

@DannyS712 are you going to work on this? If not, let me take over this work.

I tried to make a stab at this work some time ago (patches that Krinkle mentioned ) but then I abandoned the idea. Now I want to get this thing done and noticed you made a ticket for it and pushed a PR. Nice. Thanks.

@DannyS712 are you going to work on this? If not, let me take over this work.

You can do this, feel free to add me as a reviewer to the patch though