Update Wikidata - Fix autocomment format and change coalescing bugs
Also remove deprecated code in ApiXmlFormatTest. It is safe to
remove now, but when this branch is tested with the next MW core
branch, then the deprecation warning will cause jenkins to fail.
Change-Id: I5d2475797e599351d2baf02b0a33c5f3c21c2740