User "^demon" changed the status of MediaWiki.r85377.

Old Status: new
New Status: ok

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85377#c0
Commit summary:

Workaround for bug 28146: running out of memory during Unicode 
validation/normalization when uploading DjVu file with lots of embedded page 
text

This provisional workaround runs a page at a time through UtfNormal::cleanUp() 
instead of running the entire file's dumped text at once. This avoids exploding 
memory too much during the preg_match_all() used to divide up ASCII and 
non-ASCII runs for validation, which is very wasteful for long texts in Latin 
languages with many mixed-in non-ASCII characters (like French and German text).
Won't fix legit cases of huge texts, such as realllllllllly long page text, 
which would still be subject to getting run through at web input time in a 
giant chunk.

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to