Page MenuHomePhabricator

Namespace remaining Vector classes
Closed, ResolvedPublic

Description

SkinVector, SkinVectorLegacy and SkinVector22 are currently un-namespaced.

We'll use a class alias to support extensions that are checking the class is an instance of Vector.

Event Timeline

Change 760274 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/skins/Vector@master] Namespace rest of skin

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

Is dropping the class alias considered part of this task or is that less of a priority?

Is dropping the class alias considered part of this task or is that less of a priority?

We can cut it however you want.

T182943: Move namespaced extensions to use PSR-4 autoloading (and subtasks) is mostly about trying to get things moved over, with the result ofeventually reducing the size of $wgAutoloadClasses.

If we want to put a seperate task up for eventually removing those aliases at a later date when usages are fixed, that's fine by me.

There doesn't seem to be too many (but obviously, that also means it's non zero), so if we can clean up within a few months, I think that's a win

Change 760274 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Namespace SkinVector* PHP classes

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

Reedy claimed this task.