Last modified: 2014-09-21 20:48:16 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 T73063, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71063 - author name with special character causes problem in Special:Version
author name with special character causes problem in Special:Version
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-19 18:56 UTC by Dr Brains
Modified: 2014-09-21 20:48 UTC (History)
2 users (show)

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


Attachments

Description Dr Brains 2014-09-19 18:56:51 UTC
Hello,

on a personnal installation, the author name "Niklas Laxström" causes Special:Version to crash.

I could fix it by changing  "Niklas Laxström" to "Niklas Laxström" in UniversalLanguageSelector.php, when I saw that Extension:Renameuser had an author with the same special character.
Comment 1 Bawolff (Brian Wolff) 2014-09-19 19:02:02 UTC
I can verify that ö is correctly encoded as UTF-8 in the version of UniversalLanguageSelector.php in our git repo.

----

It sounds like your website is being served with incorrect http headers. Could you check what the content-type header is. It should be

Content-Type: text/html; charset=UTF-8
Comment 2 Bawolff (Brian Wolff) 2014-09-19 21:40:27 UTC
To clarify, I originally skimmed this and missed the word "crash". Crash is a bit ambiguous (Do you mean php segfaults? something else), but in any case, it is unlikely to be core MediaWiki's fault but some other component of your website causing the issue.
Comment 3 Dr Brains 2014-09-21 14:04:49 UTC
By "crash", I mean that all the HTML after the UniversalLanguageSelector "authors" cell (including footer and all the page end) is considered as text and "moved" above the insta
Comment 4 Dr Brains 2014-09-21 14:13:14 UTC
Oups... i continue

... above the "installed extensions" section, the sidebar, action and personnal tabs are also misplaced.

There is no "fatal error", only a rendering bug.

When, setting 

$wgShowDebug = true;

I see no content at "HEADER:" line in the debug infos.

But in my LocalSettings.php

I have :

$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=utf8";
$wgShellLocale = "en_US.utf8";

As I am on a shared server, I'm not sure i can get its configuration, and I probably cannot change it.

I removed my fix, so you can see the result at 

http://liverc.org/index.php?title=Special:Version
Comment 5 Bawolff (Brian Wolff) 2014-09-21 17:18:17 UTC
Bugzilla isn't really meant as a support forum... There seems to be quite a few things screwed up with your wiki (Although looking at the page, it appears less likely that it is an apache issue).

Did you modify the mediawiki software? Can you reproduce this issue with a clean unmodified install of MediaWiki and only official extensions (By official I mean extensions that are in our git repo)?
Comment 6 Andre Klapper 2014-09-21 20:48:16 UTC
So far the problems do not look like problems in the codebase to me (plus I cannot see any issues with character enconding anymore), so this should rather be discussed in https://www.mediawiki.org/wiki/Project:Support_desk instead. 
If there's really some software bug you run into after more debugging, it should become a bug report of course. :)

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


Navigation
Links