Propagation of a spatially-modulated incoherent beam in a photorefractive medium