ApiWikibase debugging

Change-Id: I7dc01a3916495b8a7fa2de74fe6d596c46cec315