Last modified: 2010-05-15 16:03:26 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 T17058, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15058 - Entering Croatian characters produces errors
Entering Croatian characters produces errors
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.13.x
PC Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-06 12:59 UTC by Radoslav Dejanović
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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


Attachments

Description Radoslav Dejanović 2008-08-06 12:59:42 UTC
The system is set up to use UTF-8. The system is fine as long as there's no Croatian characters; entering any Cro character (č,ć,ž,š,đ) causes error messages such as this: 

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 64 bytes) in /var/www/includes/SpecialPage.php on line 160

The amount of bytes varies from 64 bytes to several kilobytes, and affected are SpecialPage.php (line 160), SiteStats.php (171), UserMailer.php (195). Despite the error message, the data is accepted and once I refresh the page, I can see the whole text, together with Croatian characters in it. Trying to edit the page again causes the same error message and changes to the data are accepted. Therefore, it is possible to insert Croatian characters into Wiki, but not without producing error messages.
Comment 1 Brion Vibber 2008-08-06 19:17:01 UTC
The presence of non-ASCII characters in input triggers loading of Unicode normalization data; it looks like the 20mb memory limit is getting hit here; this shouldn't really be hitting the limit, but if you have enough other things loaded that may be legit. :(

Try raising the limit from 20; this may be set in your php.ini or in LocalSettings.php (in response to an even lower default limit).
Comment 2 Radoslav Dejanović 2008-08-06 20:19:35 UTC
I have done that - increased memory limit to 64MB in php.ini, but the error persists. I will check again on a different computer in a few days and report.
Comment 3 Brion Vibber 2008-08-07 18:15:37 UTC
If the 20 mb error persists, *update LocalSettings.php*.
Comment 4 Siebrand Mazeland 2008-08-10 23:29:36 UTC
Assumed fixed, lacking response.
Comment 5 Radoslav Dejanović 2008-08-14 11:47:06 UTC
Psst... regarding lack of response, take a look at this: 

http://en.wikipedia.org/wiki/Vacation

:-)


Anyway, I have tried it today and I do confirm that increasing memory limit in LocalSettings.php does fix the issue. 

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


Navigation
Links