Page MenuHomePhabricator

after updating MediaWiki to 1.17 all pages have "gone". now they have strange titles. they were supposed to have Bulgarian titles
Closed, ResolvedPublic

Description

Author: ilhan

Description:
the local settings file

I have updated MediaWiki from 1.16.5 to 1.17.0 and all pages seem like that they gone. In fact they have changed their titles to different characters. I use the Bulgarian version of MediaWiki. See here http://krumovgrad.eu/wiki/

Example page: http://krumovgrad.eu/wiki/%C3%90%C2%A1%C3%90%C5%BE%C3%90%C2%A3_%C3%A2%E2%82%AC%C5%BE%C3%90%E2%80%99%C3%90%C2%B0%C3%91%C2%81%C3%90%C2%B8%C3%90%C2%BB_%C3%90%E2%80%BA%C3%90%C2%B5%C3%90%C2%B2%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%B8%C3%A2%E2%82%AC%C5%93

More information:
PHP: 5.2.5 (apache2handler)
MySQL: 5.0.75

(Note: after the issue I've "removed" all extensions, the Adsense link that you see above is a notification, not a problem)

The LocalSettings.php file is at the attachment.


Version: 1.17.x
Severity: critical
OS: FreeBSD
Whiteboard: aklapper-moreinfo
URL: http://krumovgrad.eu/wiki/

Attached:

Details

Reference
bz29731

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:30 PM
bzimport set Reference to bz29731.
bzimport added a subscriber: Unknown Object (MLST).

Looks like you've lost some of your previous database settings -- is this a new LocalSettings.php that replaces your old one? You may need to copy some of your settings back.

Alternately if you've moved the database from one machine to another etc, it's possible that the charset settings got damaged while moving the databases.

ilhan wrote:

I have not moved the database. Also note that I have updated two different wikis (one English and one Turkish) in the same database just before this one, there were no problems. Only the Bulgarian one went wrong.

ilhan wrote:

I have added only the last line, ie the $wgUpgradeKey variable. I use Notepad++ , I don't think that it is because of it, I use it for years.

Interesting. I'm not sure how we could investigate this without having a dump of your Bulgarian wiki, though, or at least a portion of the Bg wiki that duplicates the bug. Unless it somehow happened with all Bulgarian wikis (which I doubt).

ilhan wrote:

I'm back at version 1.16.5. Can I upgrade it directly to 1.18 from 1.16.5?

(In reply to comment #5)

I'm back at version 1.16.5. Can I upgrade it directly to 1.18 from 1.16.5?

You should be able to, yes.

ilhan wrote:

Updating from 1.16.5 to 1.18.0 didn't help. Same result. You can find the old db, new db, db update log, and phpinfo files here http://krumovgrad.eu/dbs/

An example page after the update http://krumovgrad.eu/w/index.php/%C3%90%CB%9C%C3%91%C2%81%C3%91%E2%80%9A%C3%90%C2%BE%C3%91%E2%82%AC%C3%90%C2%B8%C3%91%C2%8F The title should be in Bulgarian Cirilic but it is not.

Ilhan: Is this still a problem, or did you find out the reason or a way how to work around this problem?

ilhan wrote:

Few months ago I have tried to update it again from the backup copy. It has ended in same way; strange titles. Then I gave up.

My work around was to copy-paste from old wiki to a new installation all the pages manually.

Assuming that this is similar to bug 38250, did you check which encoding your database is set to? If it's for example latin1 encoding but should be utf8 that might be the reason. And bug 20831 also might be similar.

Assuming this is a dup of bug 38250.

  • This bug has been marked as a duplicate of bug 38250 ***