Author: marcel.gsteiger
Description:
Some PostgreSQL installations use UTF8 as default encoding for the database (as is required by MediaWiki), but the default client encoding is set to something different. MediaWiki should always enforce UTF8 after opening the database connection to avoid problems in this situation.
On recent PostgreSQL installations, this can easily be accomplished by applying the following patch to mediawiki/includes/db/DatabasePostgres.php:
187a188
$this->doQuery('SET client_encoding="UTF8"');
Version: unspecified
Severity: enhancement