working, except now need to handle {{Reflist|blah}} templates and <ref name='blah' /> tags