Use binary charset in default table options
authorTim Starling <tstarling@wikimedia.org>
Wed, 19 Sep 2018 05:38:28 +0000 (15:38 +1000)
committerTim Starling <tstarling@wikimedia.org>
Wed, 19 Sep 2018 05:56:10 +0000 (15:56 +1000)
commit9bea45eab77f731aaba56b69aa9432f41d199ef8
treeb061a92aeeef79f03ee64031f575cb9513bb9a59
parent6df38a8d26681d5241e2f7808ee3ed69472bb329
Use binary charset in default table options

$wgDBTableOptions is overridden in the installer-generated
LocalSettings.php, and is always set to binary now that the installer UI
option has been removed. However, the value from DefaultSettings.php is
used when the installer installs an extension, since in this case
DatabaseUpdater is called without reading the generated
LocalSettings.php.

Binary is almost certainly the right answer since many extensions can't
even be installed without this option, they hit a key length error.

Change-Id: I87df736a4d9e49c9535d55bd556e636500ca203f
includes/DefaultSettings.php