Last modified: 2012-01-16 19:20:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32612, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30612 - Database error when creating page containing "[[File:Дамрак.JPG|250px]]"
Database error when creating page containing "[[File:Дамрак.JPG|250px]]"
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Prototype server (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Roan Kattouw
http://prototype.wikimedia.org/rc-en/...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-29 11:51 UTC by Krinkle
Modified: 2012-01-16 19:20 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2011-08-29 11:51:04 UTC
Steps to reproduce:
1) Go here: http://prototype.wikimedia.org/rc-en/index.php?title=Sandbox2&action=submit (should not exist, if it does, pick another title)
2) Put "[[File:Дамрак.JPG|250px]]" in the text area
3) Press "Show preview"

Expected result:
Either an embedded image or a redlink.

Actual result:
Database error

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

SELECT img_size,img_width,img_height,img_bits,img_media_type,img_major_mime,img_minor_mime,img_metadata,img_timestamp,img_sha1,img_user,img_user_text,img_description FROM `image` WHERE img_name = 'Дамрак.JPG' LIMIT 1

from within function "LocalFile::loadFromDB". Database returned error "1267: Illegal mix of collations (latin1_bin,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' (localhost)".
Comment 1 Roan Kattouw 2011-08-29 11:59:38 UTC
This is because the prototype databases don't have their collations set up right.
Comment 2 Brion Vibber 2011-08-29 18:02:04 UTC
Who can fix / reinstall these?
Comment 3 Roan Kattouw 2011-08-31 13:09:51 UTC
(In reply to comment #2)
> Who can fix / reinstall these?
I could, if I cared and had time. Or anyone else with shell access to the prototype box, like Aaron, Chad, Sam, or you.
Comment 4 Sam Reed (reedy) 2011-11-15 14:06:37 UTC
Is it worth actually doing this? Or just wait till they are migrated/recreated?
Comment 5 Sam Reed (reedy) 2012-01-16 19:20:32 UTC
Labs are coming online, making even less of an incentive to fix this

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links