Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// makes edits related to Wikidata captions less visiblemw.hook('wikipage.content').add(function(dummy){varcomments=document.getElementsByClassName("autocomment");for(vari=0,n=comments.length;i<n;i++){if(comments[i].innerHTML.match(/\[\w+\].*:/)){comments[i].parentNode.parentNode.parentNode.setAttribute('style',"margin-top:0.125ex; font-size:50%;");}}});