HRWiki talk:Upgrade to MediaWiki 1.4

From Homestar Runner Wiki

Jump to: navigation, search


[edit] Emdarn

Looks like any — that wasn't coded as — appears now as —. Endashs changed to –. Hoo boy. -- Tom 01:48, 3 Apr 2005 (MST)

Oh, is that what it was. I corrected crazy cartoon from that, just deleting the — text. Oh and your example gives &emdash; instead of — «Rob» 01:58, 3 Apr 2005 (MST)
Fixed that typo. Thanks. -- Tom 03:10, 3 Apr 2005 (MDT)
Another problem is that é is appearing as é. «Rob» 03:24, 3 Apr 2005 (MDT)
This problem is caused by the webpages supplying the wrong information to the browser - instead of sending UTF-8 as the character set (UTF-8 being the charset used by this Wiki), it sends iso-8859-1. It should be correctable by changing the <META> command that the Wiki puts in the <HEAD> of all of the Wiki's pages. --Pidgeot (t) (c) (e) 04:24, 3 Apr 2005 (MDT)
Hmm. Here's what happened in #mediawiki:
[13:10:17] <Tom39> I just upgraded to 1.4 and I'm having some trouble
with the encoding.  This might be an easy one, but how do I change the
encoding?  For example, I want to change it to UTF-8?
[13:10:32] <TimStarling> ha ha ha
[13:10:45] * Tom39 blushes
[13:10:49] <Sound> :-)
[13:10:56] <TimStarling> sorry, don't know
[13:11:08] * Snuffkin has joined #mediawiki
[13:11:09] <TimStarling> encoding has gone all weird and buggy, I don't
understand it anymore
[13:11:09] <Snuffkin> hi
[13:11:19] <dammit> tom39, you have to convert everything. somehow. 
[13:11:20] <TimStarling> ask avar
[13:11:31] <Tom39> I know!  All my endashes show up weird and stuff.
[13:11:54] <dammit> what was your data before upgrade, utf?
[13:12:14] <avar> TimStarling: I don't understand any of it..
[13:12:18] <avar> well actually
[13:12:28] <avar> query every page in the db and run it through iconv?
[13:12:31] <avar> that should work
[13:12:38] * waerth has left #mediawiki
[13:12:45] <TimStarling> we do have built-in ways of doing that
[13:12:51] <TimStarling> they just aren't built in well enough
Eep. I'm thinking it's not really as easy as changing the <meta> tag. Any suggestions? -- Tom 11:50, 3 Apr 2005 (MDT)
To quote UPGRADE from the MediaWiki 1.4.0 distribution:
=== Web installer ===

You can use the web-based installer wizard if you first remove the
LocalSettings.php (and AdminSettings.php, if any) files; be sure to
give the installer the same information as you did on the original
install (language/encoding, database name, password, etc). This will
also generate a fresh LocalSettings.php, which you may need to customize.

You may change some settings during the install, but be very careful!
Changing the encoding in particular will generally leave you with a
lot of corrupt pages, particularly if your wiki is not in English.
I'm assuming this is the method that was used to upgrade. I'm guessing that the error comes from selecting "en - English - Latin-1" instead of "en - English - Unicode".
To see what needed to be changed, I downloaded MediaWiki and created two different configuration files: one for Latin-1 and one for Unicode. I then used Cygwin to find the differences between the files. Output follows:
Michael Madsen@INSPIRON1100 /cygdrive/c/[...]/mediawiki-1.4.0/config
$ diff LocalSettingsEn.php LocalSettingsUTF.php
< $wgUseLatin1 = true;
> $wgUseLatin1 = false;
< $wgProxyKey = "1dd202f9ffdba3e7e09153260040c7619c9fb6446f46d3236b57bee58940f40";
> $wgProxyKey = "44376a2e575970a51d7dd9407bea7dd77dd7ab47e0a846d40b67d6a1e51e52e";
Based on this, the problem should be fixed merely by changing $wgUseLatin1 = true; to $wgUseLatin1 = false; in LocalSettings.php. --Pidgeot (t) (c) (e) 13:45, 3 Apr 2005 (MDT)
Okay, I've fixed the encoding by changing $wgInputEncoding and $wgOutputEncoding via LocalSettings.php. Thank goodness. (And I just had an edit conflict with you Pidgeot. $wgUseLatin1 had been set to false all along. Good try though, as I looked into that as well before I figured out this solution.) -- Tom 13:50, 3 Apr 2005 (MDT)

[edit] Edit Conflicts

[edit] Affected Articles

I know of the following articles (there's bound to be more) that have not had any edits since April 2nd. All users see a persistent edit conflict message even when no such conflict actually exists. This is due to some sort of ISO Encoding error (or similar problem that Tom would understand) when the wiki was upgraded. The affected articles are listed below:

If anyone knows of other affected pages, please add them to the list above. Thanks! --THE PAPER 22:13, 10 Apr 2005 (MDT)

NOTE: WikiTroll has been given a temporary replacement but the mods don't seem to care. --Jay 15:39, 11 Apr 2005 (MDT)

This seems to be a bug in PHP's gmmktime function which we use for converting timestamp formats. Specifically, it's incorrectly applying daylight saving time correction for timestamps between 3am and 4am on April 3, 2005. You can work around this by setting the timezone to UTC instead of local time. Trying add a line like this to your LocalSettings.php: putenv("TZ=UTC"); -- brion

Done, and eveything now works fine. Thanks for following up with me, Brion. -- Tom 18:31, 13 Apr 2005 (UTC)
Thank you! Aurora the Homestar Coder 18:36, 13 Apr 2005 (UTC)

[edit] Unorganized Commentary

I try to edit Strong Bad's Room Main Page but everytime I press "Submit" it says there is an edit conflict, when I know there really hasn't been. I edit the text again and press "Submit", and it says the same thing again. Even when I go back to it after a while I still have the same problem. «Rob» 03:38, 3 Apr 2005 (MDT)

The same thing happens to me with the WikiTroll archive. --Gafaddict 08:59, 3 Apr 2005 (MDT)
I got the same thing as well on japanese cartoon. --JesseStu 16:57, 3 Apr 2005 (MDT)
I just tried to edit japanese cartoon, and it happened to me. «Rob» 19:30, 3 Apr 2005 (MDT)
Me too. ryandesign 13:59, 4 Apr 2005 (MDT)
Same thing editing User:unknown.
This happened to me on the WikiTroll page and the WikiTroll talk page. Here's the trolling I was trying to report: [1] Aurora the Homestar Coder 17:36, 5 Apr 2005 (MDT)
I always get an edit conflict message when editing labor day, fingers, and dragon. What gives? --THE PAPER 21:58, 7 Apr 2005 (MDT)
Looks like the same bug. I hope this all gets sorted out soon (I made a replacement WikiTroll page, but replacements for ALL of these pages would be infeasible.) --Jay 22:03, 7 Apr 2005 (MDT)

[edit] Senor is acting up again...

I fear that the Senor article may have been deleted during the move. The problem seems to be another result of the ISO encoding, because the Wiki cannot get into the page, giving a "Bad Page" error. Any ideas on how to fix this, and if the article is still recoverable? --Venusy 12:02, 3 Apr 2005 (BST)

The page is still there, and the problem should be automatically fixed as soon as the encoding is fixed. For now, you should be able to get to it through this link:[2] --Pidgeot (t) (c) (e) 05:13, 3 Apr 2005 (MDT)

Thank you Pidgeot. --Venusy, 12:19, 3 Apr 2005 (BST) And when will the page be fixed? Lord Pikachon

Pidgeot was correct, this was fixed with the character encoding fix. -- Tom 13:52, 3 Apr 2005 (MDT)

[edit] Minor Edits

There is no check box for "minor edit" in the edit screen. -- 08:51, 3 Apr 2005 (MDT)

AFAIK, that checkbox has NEVER been present for anonymous users. You have to sign in for it to appear. --Pidgeot (t) (c) (e) 09:21, 3 Apr 2005 (MDT)
Oooh, sorry. I wasn't logged in that time. --thatkidsam 10:02, 3 Apr 2005 (MDT)

[edit] Out of Sync

The bottom-of-the-page template's text is slightly off center, adding lines. -Walking Armless, 12:36 PM 3-4-'05

Yeah, that's an Internet Explorer hack. In Firefox, the footer spans the entire width of the window. In IE, it spans just under the content. As far as I know, it has been that way for a while. -- Tom 11:56, 3 Apr 2005 (MDT)

[edit] Sig Problems

Whenever I type "~~~", it shows up as [[User:FireBird|FireBird]]. In my preferences my signature is saved as ''<small><tt>[[User:FireBird|<font color=green>FireBird</font>]]</tt></small>'', yet it does not show up as that. I'm not sure if it's an easily fixable problem, or something wrong with 1.4. I've been typing my whole sig since this happened. → FireBird

Hmm. MetaWikipedia:Help:Preferences doesn't seem to offer any solutions. I know I didn't have a problem with mine. Meaning, I didn't have to change anything after the upgrade for my sig to keep working. What about that "raw signatures" box? Do you have that checked or unchecked? -- Tom 14:29, 3 Apr 2005 (MDT)
Unchecked. Should I check it? →[[User:FireBird|FireBird]]
It wouldn't hurt to try it and see what happenes. -- Tom 14:44, 3 Apr 2005 (MDT)
Yes, that's exactly what you need to do. When it's unchecked, it will insert your signature as the link description (like so: [[User:FireBird|Your sig goes here]]). When checked, it's used "as-is". --Pidgeot (t) (c) (e) 15:01, 3 Apr 2005 (MDT)
Ah ha, mine was doing the same thing. I just checked the box, aaaand: ⇔Thunderbird⇔ Bingo. Except... It seems as though my little arrows are no longer usable. They just show up as little boxes. Any ideas, or do I have to switch to something different? ⇔Thunderbird⇔ 15:16, 3 Apr 2005 (MDT)
I just made myself a sig like yours, I hope you don't mind (imitation is the sincerest form of flattery...) BTW, I see the arrows. It was probably fixed when the special characters problem described above was fixed. Aurora the Homestar Coder 16:07, 3 Apr 2005 (MDT)
Well that's a relief, and yea, I don't mind if you steal the idea, I stole the basic idea from →FireBird, who came up with the idea of having a different color, symbols, ect, and I think he got help creating it by Tom. It's got quite the history... ⇔Thunderbird⇔ 21:57, 3 Apr 2005 (MDT)

[edit] Link plus more characters

Extra characters after a link are behaving differently from before. Plurals still work the same:

But possessives don't:

I think it looks better the old way. — It's dot com 17:33, 3 Apr 2005 (MDT)

Just enclose the apostrophe and the S in brackets if it bugs you. --Úħ¡ βøв 06:28, 4 Apr 2005 (MDT)
Like this?
Strong Bad's boxing gloves
I have to agree It's dot com. Is there anyway we can change it back? --Trogga 11:54, 4 Apr 2005 (MDT)
As you can see by the red link above, "[[Strong Bad's]] boxing gloves" isn't the same as "[[Strong Bad]]'s boxing gloves".
You can force it, like so: "[[Strong Bad|Strong Bad's]] boxing gloves", but that's just a workaround, and it takes more effort. Plus, all the old articles would have to be fixed. — It's dot com 14:36, 4 Apr 2005 (MDT)

[edit] The buttons

This isn't important, but why are the buttons on the left still flat and white, rather than being changed to normal buttons (for example, they would be gray and 3D on Windows 2000) as on Wikipedia? While I'm here, I might as well mention that I haven't noticed any problems. On top of that, I can upload files again on the Fanstuff Wiki. --Úħ¡ βøв 06:46, 4 Apr 2005 (MDT)

I think they're supposed to be like that, part of the style. «Rob» 22:00, 4 Apr 2005 (MDT)

[edit] Creating a New Account

I can't seem to sign up for a new account! "You have not specified a valid user name." is the error it keeps giving me. No matter what I try.

Well, what usernames have you tried? Maybe you're trying to use characters not allowed by MediaWiki. --Pidgeot (t) (c) (e) 11:50, 4 Apr 2005 (MDT)
I tried "Kit," "Kickmyassman," and "kitscuzz" All of which (according to the login screen) were not taken. What I'm actually trying to do is get rid of part of "User:unknown"s profile where he claims to be the "proud messanger of" Since I don't know who the person is it's really bothering me, because I am the admin... --Kit

I can't create, either, getting the same error. The nick isn't used by anyone else here, and it's not even alphanumeric, it's straight alpha, all lower-case.

Fixed. -- Tom 18:42, 13 Apr 2005 (UTC)

Getting the same problem from my two machines (work and home), using both FF and IE. --would-be-phealy, 21:20, 14 Apr 2005 (UTC)

This problem appears to have been fixed, as can be seen by the fact that I now have an account. Apparently you need to have a capital first letter in your name now... --Kit

[edit] AOL Freezing Up

It seems that AOL temporarily freezes up on every page, and does so seemingly temporarily on the Weekly Fanstuff page. Might this have something to do with the move? 20:24, 4 Apr 2005 (MDT)

I can't really think of any specific reason. Are you on dialup? Weekly Fanstuff has a lot of images. Does the same thing happen on Floppy Disk Container? -- Tom 18:38, 13 Apr 2005 (UTC)

[edit] Crashing

It seems like every so often the Wiki cannot be found (I am given a traditional 404 error message). Things stay like that for a few minutes, but eventually re-appears. Is it just me?-- Posted by: -erson Talk 23:44, 20 Apr 2005 (UTC)

Nope, it happens to me too. I always thought it might be a traffic issue. Aurora the Homestar Coder 23:51, 20 Apr 2005 (UTC)
Personal tools