Diffusion is now deprecated; it'd be nice to work with gerrit's gitiles like we do elsewhere.
Topic on Template talk:Git file
Appearance
I've created {{Gerrit file}} which does this; some of the options don't port accross, so I'm wary of just replacing the functionality…
Krinkle appears to have done this.