Revert "Revert "Update Wikibase""

Three minor changes which should be there
by the time wikidata.org goes wmf12.

This reverts commit 4541873004395af0dbe5918a1d2d7730a3e5d32d.

Change-Id: Ia89217657f2ec554beac1650527d61c79c278be6