Diffraction by, or diffusion into, a penetrable wedge