OzDES Reverberation Mapping Programme: Mg ii lags and R−L relation