ysengrin: Yep, that's me. (shy-wolf)
[personal profile] ysengrin
Moving the host for the wikis to a different location. As part of that, they need to be on 1.24.1 instead of 1.23.1. This morning I start upgrading them, making the decision to bring them up on nice, clean Mediawiki installs, to weed out the cruft from several previous versions. The two little wikis go pretty smoothly, with only a minor issue about permissions on a couple of binaries. Then I flip the main wiki.

I should be seeing this:
Cúchulainn split it with his sword when it failed to cry out under his protégé ...

Instead I see this:
Cúchulainn split it with his sword when it failed to cry out under his protégé ...

It's a known issue, caused by differing character encoding in MySQL tables. It pops up because UTF8 Unicodes were not supported in older (now ancient) MySQL versions. Unfortunately, the database of the big wiki dates back to those ancient days. I've been plastering over the issue, but this last MediaWiki update refused to let the encoding mismatches slide. In short, the update exposed all those non-conforming bits of text. There were a lot of them, some in article titles.

So, I spent the evening firing up a copy of the wiki from yesterday's backups and invoking my SQL-fu to whip the database into conformity. I seem to have been successful, as the Mediawiki update didn't repeat the encoding snafus.

Now I just need to copy the test DB over the live one, which I'll do in the morning when I'm fresher.

(no subject)

Date: 2015-03-07 10:09 am (UTC)
From: [identity profile] schnee.livejournal.com
MySQL and Unicode, still a complete clusterf*ck. x.x

(no subject)

Date: 2015-03-07 01:52 pm (UTC)
From: [identity profile] porsupah.livejournal.com
Ah, those long (thankfully) lost days of 8-bit encoding, where Windows used one character set, Mac OS used another, and.. well, pretty much everyone went their own way, eventually grudgingly half-accepting ISO 8859.

(I may occasionally feel a touch nostalgic about home computing's history, but no way I'm giving up this MBP with an SSD running around 1GB/s sustained throughput, or an iPad Air. Ah, to be able to show both to 15-y.o. me =:)

December 2022

M T W T F S S
   1234
567891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated 19 Jul 2025 07:13 am
Powered by Dreamwidth Studios