if it is the other way around and you used any version before Electrum V 3.x.x then you don't have SegWit by default. so your MPK should be the normal thing starting with xpub... maybe you copied the wrong thing?
this is the way to get the xpub which should work in any wallet (even wallets other than Electrum)
Yup, that's what I got, an xpub key. However, inserting it in the new Electrum version leads to an empty wallet file without addresses and history and a "TypeError: Odd-length string" in the terminal it runs in.
The TypeError indicates some letters it did not expect or newlines or stuff like that. I tried the xpub on a different wallet (also predating segwit), where it was just fine. I even trid it the other way around, generated a pubkey in the new Electrum version from a new wallet (which looks very different), but the old wallet handled it just fine.
Do you have a suggestion for a different wallet? I don't need to use electrum. Core is too big for my laptop, though.