Hello,
Am Dienstag, 18. Juli 2017, 01:40:58 CEST schrieb Christian Boltz:
For probably obvious reasons, I didn't have time
to change the <feed>
tags to the new <rss> tags. I'll do that in the next days, but I won't
complain if someone is faster and does it in some of the wikis
I found a funny problem when I started to work on this - too good to be
kept secret ;-)
The problem itsself wasn't too funny - trying to save any changes on
el.o.o or pl.o.o always errored out:
Sorry! We could not process your edit due to a loss of session data.
You might have been logged out. Please verify that you're still
logged in and try again. [...]"
Editing the other wikis worked, and yes, I did a few edits in *every*
wiki.
The reason for the session problem was $wgCookieDomain = 'opensuse.org'.
el.opensuse.org includes MediaWiki:Common.css from
en.opensuse.org and
gets the english session cookies this way. Since the CSS is loaded after
the HTML and the latest cookie wins, the next request sent the english
cookies to the el wiki.
The solution was obviously to restrict $wgCookieDomain to
en.opensuse.org etc. Luckily this is the default behaviour, so I simply
deleted the line that sets $wgCookieDomain in LocalSettings.php.
Needless to say that this fix is already in our salt repo and deployed to
all wikis ;-)
Regards,
Christian Boltz
--
Du hast nen Crusoe? Hm, gibts damit Probleme? Mit VIA-Chips hab ich
da noch was im Kopf, Crusoe ist hierzulande vermutlich so selten wie
vertrauenswürdige Politiker ... [Manfred Tremmel in suse-linux]
--
To unsubscribe, e-mail: heroes+unsubscribe(a)opensuse.org
To contact the owner, e-mail: heroes+owner(a)opensuse.org