Update Wikidata, jquery 1.9 compat fix and api compat change

Change-Id: I10739bf61f46b7296946818a227564d205721e68
Merge "Update Wikidata, jquery 1.9 compat fix and api compat change" into wmf/1.24wmf5