Yeah, it's super understandable for governments to block international non-profit organizations from getting donations because they don't comply with some random-ass heavy-handed domestic law.
The purpose of the Finnish law is "You can't get donations from Finns without a permit." Wikipedia doesn't have a permit, thus they can't get donations from the citizens of Finland.
Seems rather straightforward to me.
And second, Finland of course doesn't have jurisdiction over every charity in the world. But there is actually a Finnish non-profit branch of the WikiMedia foundation, who would fall under that jurisdiction. Their argument is that they have absolutely nothing to do with the fundraising, and it's all handled by the American WikiMedia Foundation.