User:Diamonddave63/vector.js

$( document ).ready( function {	var refToggle = mw.util.addPortletLink( "p-tb", "#", "Toggle references");	$( refToggle ).click( function { $( ".reference" ).toggle; } ); } );