User:Asav/common.js

$(document).ready(function{	if($("#t-wikibase").length === 1) {//do we have a wikidata link?		var splitHref = $("#t-wikibase a").attr("href").split("/");//split up the link		var qnum = splitHref[splitHref.length - 1];//get the last item		$("#firstHeading").append(' (' + qnum + ") ");//add to title	} });