User:Zhaofeng Li/RefToggle.js

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