Following up from decisions made in T356847: Changing MediaWiki Language Extension Bundle (MLEB) Release Process, we can remove all backward compatibility code in the translate extension and use latest MediaWiki API.
Will be creating a separate task for other extensions - ULS, Babel, CLDR and TranslationNotifications