Updated mediawiki/extensions/Wikidata
Project: mediawiki/extensions/Wikibase  8d0feed55c11e544feca812be68cd721530a76cc

Partly revert min vs. max hotfix

Using max() was bad because it made DoS possible.
Using min() is wrong because of the weight ordering.

Change-Id: Ib68149f76d71e088974507eb285270362a14424c