[00:32:49] anomie: So.. about https://gerrit.wikimedia.org/r/#/c/258726/ [16:41:11] hmm. Should there be spaces inside the brackets for short array syntax, e.g. do we allow `$foo = ['array'];`? phpcs doesn't care. [16:43:25] anomie: i think we're moving slowly towards 'yes', but there's no strict convention at the moment. [16:43:49] anomie: ('yes' for both array accesses $foo[ 0 ] and array creations [ 0, 1, 2 ]) [16:43:58] MatmaRex: I hate `$foo[ 0 ]`. [16:44:02] it is 'yes' for javascript code already [16:44:50] anomie: i vaguely dislike it. i'd prefer to have freedom to space parentheses as i see appropriate for a given case. but i don't really care. [16:45:01] anomie: eh, phpcs isn't enforcing [ 'foo' ]? [16:45:02] anomie: e.g. i'd write $foo[ $bar[0] ] [16:45:11] legoktm: Nope. [16:46:13] oh, bleh, we only check for T_OPEN_PARENTHESIS and T_CLOSE_PARENTHESIS [17:13:06] anomie: ok, that wasn't that bad :P https://gerrit.wikimedia.org/r/276767 [22:26:42] /wiki/Special:Version MWException from line 612 of /var/www/wiki/mediawiki/core/includes/db/Database.php: DatabaseBase::factory no viable database extension found for type 'mysql' [22:26:45] Unhelpful [22:28:57] fixed [22:29:11] apt-get install php5-mysqli [22:29:56] mysqli is dead on ubuntu now [22:30:05] I think they moved to just mysql [22:30:07] there's also mysqlnd [22:30:19] http://packages.ubuntu.com/trusty/php5-mysqli [22:30:20] http://packages.ubuntu.com/trusty/php5-mysql [22:30:21] http://packages.ubuntu.com/trusty/php5-mysqlnd