refactor(core): remove MW version check for ULS

The selector is present in MLEB builds that supports 1.35. So we don't need
to exclude 1.35 anymore.
This commit is contained in:
alistair3149 2022-05-17 09:54:31 -04:00
parent 9ac32c1421
commit 4710d1e59a
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -206,10 +206,6 @@ final class PageTools extends Partial {
if ( !$variantshtml['is-empty'] ) {
return false;
}
// ext.uls.interface only attaches to mw-interlanguage-selector >1.36
if ( version_compare( MW_VERSION, '1.36', '<' ) ) {
return false;
}
return ExtensionRegistry::getInstance()->isLoaded( 'UniversalLanguageSelector' );
}