diff --git a/includes/SkinVector.php b/includes/SkinVector.php index c6129081..666de46c 100644 --- a/includes/SkinVector.php +++ b/includes/SkinVector.php @@ -22,10 +22,18 @@ * @ingroup Skins */ +namespace Vector; + +use Action; +use ExtensionRegistry; +use Html; +use Linker; use MediaWiki\MediaWikiServices; -use Vector\Constants; -use Vector\Hooks; -use Vector\VectorServices; +use RuntimeException; +use SkinMustache; +use SkinTemplate; +use SpecialPage; +use Title; /** * Skin subclass for Vector that may be the new or old version of Vector. @@ -1015,3 +1023,5 @@ class SkinVector extends SkinMustache { ]; } } + +class_alias( SkinVector::class, 'SkinVector' ); diff --git a/includes/SkinVector22.php b/includes/SkinVector22.php index 4ffbb7a5..66b67ef8 100644 --- a/includes/SkinVector22.php +++ b/includes/SkinVector22.php @@ -1,7 +1,6 @@ 'vector' ] ); diff --git a/tests/phpunit/integration/VectorHooksTest.php b/tests/phpunit/integration/VectorHooksTest.php index b81b5851..ad19a583 100644 --- a/tests/phpunit/integration/VectorHooksTest.php +++ b/tests/phpunit/integration/VectorHooksTest.php @@ -9,6 +9,7 @@ use Vector\Constants; use Vector\FeatureManagement\FeatureManager; use Vector\Hooks; use Vector\HTMLForm\Fields\HTMLLegacySkinVersionField; +use Vector\SkinVector; /** * Integration tests for Vector Hooks.