always returns 500. It must be related to sanctions
I'm pretty sure that it has nothing to do with sanctions or a specific language. If you change your code to the following, it works:
Code:
curl -I -H 'accept-language: ru-RU;q=0.9,en-US;q=0.8,en;q=0.7' https://eu4.paradoxwikis.com/Prussia
On the other hand, the following code which I took from the
mozilla documentation of the header doesn't work:
Code:
curl -I -H 'accept-language: fr-CH,fr;q=0.9,en;q=0.8,de;q=0.7,*;q=0.5' https://eu4.paradoxwikis.com/Prussia
AFAIK the problem is that the wiki currently can't generate the page and you can only see it if it can be satisfied by the cache
(presumably the caching doesn't know that the generated page will always be in english no matter what language you request). If you are logged in, it can help to log out, because logged in users never get the cached page.
The reason why the wiki can't generate the Prussia page has something to do with the inclusion of the decisions to form Prussia. Including just one of them like on the Brandenburg and Teutonic Order pages allows you to load it sometimes. But the prussia page has all three of them and seems to be broken 100% of the time. But the decisions themselves are shown correctly on the
Formation decisions page (the Prussia page includes it from there). But the decisions are not overly complicated, so I don't know why they are causing this trouble.