Hello, sometimes plans change while you are working on them ;-) The plan for tonight was to move and update some of the localized wikis. Things worked better and faster than expected, and in the end we (Max, Theo and I) moved *all 18 localized wikis* from Provo to Nuremberg and updated them to MediaWiki 1.27 :-) This means *all* openSUSE wikis are now running on MediaWiki 1.27 and support the features announced for the english wiki last week. 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 ;-) There are two exceptions: old-en.o.o and old-de.o.o, which contain the historical content of the old german and english wiki before they were rebuilt from scratch some years ago. I have the data for them, but didn't update them yet because a) 18 wikis are enough for an evening ;-) and b) they were still running MediaWiki 1.15.1 (released in 2009!) which will make the update "a bit" more interesting[tm]. I didn't want to do this after midnight ;-) For those who are interested in statistics: - moving 18 wikis in about 6 hours means about 20 minutes per wiki - can someone beat this? ;-) [1] [2] - today's move came with about 500 lines on IRC to coordinate everything - this helped to keep the read-only time of each wiki short - I'd guess on average each wiki was read-only for 30 minutes (again, can someone beat this? ;-) - we moved about 10 GB of uploaded files and 1.6 GB of mysql dumps today (which was sometimes "funny" because the server in Provo is limited to a 10 MBit connection) Regards, Christian Boltz PS: I plan to make a news.o.o article and maybe also an announcement mail based on the above, so if you notice anything that should be changed, added or removed, please tell me ;-) [1] I still can't believe this myself ;-) [2] Of course this was only possible with "some" preparation (having all directories, empty databases etc. ready). And I probably don't need to mention that I spent several months on preparing the update of the english wiki. The other wikis were just "me too" migrations ;-) -- The speed at which a mistyped command executes is directly proportional to the amount of damage done. [Joe Zeff] -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
Hello, Thank you for all your work. I found some sidebar with some changes: 导航 -> <导航> (that is, Navigation -> <Navigation>) This happened in many wikis: eg. Chinese wiki, Italian wiki, etc. But there also are many wikis that are not affected (en, jp, etc). Do you have any way to change them? PS: Chinese wiki: https://zh.opensuse.org Italian wiki: https://it.opensuse.org Thanks, Grover Chou -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
Hello, Am Dienstag, 18. Juli 2017, 07:57:06 CEST schrieb Grover Chou:
Thank you for all your work.
I found some sidebar with some changes: 导航 -> <导航> (that is, Navigation -> <Navigation>)
This happened in many wikis: eg. Chinese wiki, Italian wiki, etc. But there also are many wikis that are not affected (en, jp, etc).
Do you have any way to change them?
It looks like someone wanted to be smart and applied some translation magic to the box header: <h2 class="box-header"> <?php $out = wfMessage( $bar ); if ($out) echo $out; else echo $bar;?> </h2> This also means the result differs depending if wfMessage() returns something or not. I changed the code to <h2 class="box-header"> <?php echo $bar; ?> </h2> This means the translation magic is gone. In the wikis I checked, it doesn't hurt (MediaWiki:Sidebar already contains the localized header), and if one of the wikis really relied on the translation magic, changing Mediawiki:Sidebar is easy. Technical note: I changed this on github and also locally in the wiki VM, but didn't update the mediawiki_1_27-openSUSE package yet. Regards, Christian Boltz -- Wer Angst vor dem weißen Papier hat, der benutze einfach Blätter im Format DIN A5 - das halbiert das negative Gefühl. (Auf DIN A9 geschrieben.) [Katharina Greve auf www.titanic-magazin.de] -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
Hey, Am 18.07.2017 um 01:40 schrieb Christian Boltz:
Hello,
sometimes plans change while you are working on them ;-)
The plan for tonight was to move and update some of the localized wikis. Things worked better and faster than expected, and in the end we (Max, Theo and I) moved *all 18 localized wikis* from Provo to Nuremberg and updated them to MediaWiki 1.27 :-)
Good job, many thanks and kudos to the involved Heroes. Cheers, Thorsten -- Thorsten Bro <Thorsten.Bro@suse.com> - Operations & Services (OPS), SUSE IT - SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
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@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
participants (3)
-
Christian Boltz
-
Grover Chou
-
Thorsten Bro