User "OverlordQ" changed the status of MediaWiki.r99562.

Old Status: new
New Status: fixme

User "OverlordQ" also posted a comment on MediaWiki.r99562.

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

Avoid warnings from PG about improper escaping.
See http://www.postgresql.org/docs/8.1/static/release-8-1.html

Comment:

This breaks Math and probably other stuff that uses BYTEA fields.

<pre>
<nowiki>
Running test BUG 1887, part 2: A <math> with a thumbnail- math enabled... PHP 
Warning:  pg_query(): Query failed: ERROR:  invalid byte sequence for encoding 
"UTF8": 0xfa in /var/www/thedarkcitadel.com/w/includes/db/DatabasePostgres.php 
on line 253


Warning: pg_query(): Query failed: ERROR:  invalid byte sequence for encoding 
"UTF8": 0xfa in /var/www/thedarkcitadel.com/w/includes/db/DatabasePostgres.php 
on line 253
A database error has occurred.  Did you forget to run maintenance/update.php 
after upgrading?  See: 
http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT  math_outputhash,math_html_conservativeness,math_html,math_mathml 
 FROM "parsertest_math"  WHERE math_inputhash = 
E'\xfa50b8b616463173474302ca3e63586b'  LIMIT 1  

Function: MathRenderer::_recall

Error: 1 ERROR:  invalid byte sequence for encoding "UTF8": 0xfa
</nowiki>
</pre>

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

Reply via email to