HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase…

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase 7d7d74c5c61935d86303404f0aa213a3b0a4adaa

Enable JSCS rule requireSpaceAfterKeywords in "google" style

This is the most minimal consensus we could come up with, see T110811.

This moves the coding style of our code base much, much closer to the
MediaWiki code style. Note that we are excluding "function()" for now.
This is exactly what JSCS' "google" preset does, which is used by JSCS
itself. Also note that major projects like Flow and Parsoid also favor
"function()" and therefore disabled the requireSpaceAfterKeywords rule
completely.

Bug: T110811
Change-Id: Ibc23708343ffca34b7f3eae1c66db7899a844a4f