Gergő Tisza has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/366586 )
Change subject: Add mysql_strict role ...................................................................... Add mysql_strict role Adds a role called 'mysql_strict' which configures MediaWiki to use MySQL/MariaDB in strict mode (TRADITIONAL,ONLY_FULL_GROUP_BY). Change-Id: Ie4cfcb78324d9d3672662893b09ef69779aa03c7 --- A puppet/modules/role/manifests/mysql_strict.pp 1 file changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant refs/changes/86/366586/1 diff --git a/puppet/modules/role/manifests/mysql_strict.pp b/puppet/modules/role/manifests/mysql_strict.pp new file mode 100644 index 0000000..8db70ac --- /dev/null +++ b/puppet/modules/role/manifests/mysql_strict.pp @@ -0,0 +1,14 @@ +# == Class: role::mysql_strict +# Configures MySQL/MariaDB to use strict mode. +# See https://phabricator.wikimedia.org/T112637 +# Note: this is meant for testing new code. +# Not all old code is updated to work in strict mode yet. +# +class role::mysql_strict { + mediawiki::settings { 'mysql_strict': + values => { + wgSQLMode => 'TRADITIONAL,ONLY_FULL_GROUP_BY', + }, + } +} + -- To view, visit https://gerrit.wikimedia.org/r/366586 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie4cfcb78324d9d3672662893b09ef69779aa03c7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/vagrant Gerrit-Branch: master Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits