Switch is not a mid gen upgrade, but an entirely new device with its own library. Your logic is flawed.
Wikipedia can be edited by anyone, and therefore is open to people who mistakenly call it gen 8 to state as much. That does not make it fact. The bigger factor is how long it competes with the PS5 and XSX. If it stays on the market beyond 2023, there is no denying it as a 9th gen console with hybrid functions. And with the way Switch is selling, don't expect a successor anytime soon.
Couple that with the fact that it replaced the actual gen 8 console, and it becomes all that more clear that Switch is part of gen 9.
By that scenario would dictate that the switch is a handheld. It is not affected by the current 8th gen consoles and wont be affected by the 9th gen either. Handhelds and consoles are on diferent cycles.
It takes genuine talent to see greatness in yourself despite your absence of genuine talent.